Edge Color Inspector RGB: rgb(0, 0, 128) HSL: 240°, 100%, 25%

#000080 Color Code — Hex, RGB, HSL & Palettes

Technical color specifications and conversion tokens for #000080. Explore exact conversions across RGB, HSL, HSV, CMYK, Apple Display P3, WCAG 2.1 accessibility ratings, and ready-to-copy code exports.

Click to Copy HEX
#000080
rgb(0, 0, 128)
Open in Color Wheel Generate 11 Scales Add Opacity (RGBA) Edit in Web Studio
HEX
#000080
RGB
rgb(0, 0, 128)
HSL
hsl(240, 100%, 25%)
HSV / HSB
hsb(240, 100%, 50%)
CMYK (Print)
cmyk(100%, 100%, 0%, 50%)
Apple Display P3
color(display-p3 0.000 0.000 0.502)

WCAG 2.1 Accessibility & Contrast Rating

Evaluates readability of text rendered on top of #000080 in compliance with Web Content Accessibility Guidelines (WCAG 2.1).

White Text (#FFFFFF) 16.01:1 (AAA Pass)
Black Text (#000000) 1.31:1 (Fail)

11-Step Tints & Shades Scale (Tailwind 50–950)

Mathematically balanced luminance scale for design systems, CSS variables, and Tailwind theme tokens. Click any shade to copy hex code:

50
#EBEBF5
100
#CCCCE6
200
#9E9ECF
300
#6B6BB5
400
#333399
500
#000080
600
#000069
700
#000052
800
#00003B
900
#000024
950
#000012

Color Harmonies & Palettes

Calculated geometric harmonies based on standard 360° color wheel rotation for #000080:

Complementary (180°)

#808000
High-contrast opposite on color wheel

Analogous (-30°)

#004080
Harmonious adjacent shade

Analogous (+30°)

#400080
Harmonious adjacent shade

Triadic (+120°)

#800000
Vibrant 3-point harmony

Triadic (+240°)

#008000
Vibrant 3-point harmony

Split Comp (+150°)

#804000
Balanced high contrast

Live UI Component Preview

See how #000080 behaves as a primary accent, interactive button, and card border in dark mode interfaces:

BUTTONS & ACTIONS
BADGES & CHIPS
Active Status Filter Tag
Alert banner styled with #000080 accent border.
SURFACE CARD

Theme Token Card

Card container featuring a top accent strip rendered in #000080.

Copy-Paste Code Exports

Ready-to-use color declarations for popular web and mobile development frameworks:

Tailwind CSS v4 (@theme)
@theme {
  --color-brand: #000080;
}
CSS Variables (:root)
:root {
  --primary: #000080;
  --primary-foreground: #FFFFFF;
}
SwiftUI (iOS & macOS)
Color(red: 0.000, green: 0.000, blue: 0.502)
Flutter Dart
const Color(0xFF000080)

Explore More Professional Color Tools on Pikka

Convert opacity with RGBA to HEX, build harmonious color palettes on the interactive canvas, or sample colors straight from your screen with Pikka for Chrome & Mac.

Open Color Wheel RGBA to HEX Converter Tint & Shade Generator Chrome Extension