#121D7F#121D7F
#121D7F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.8% C 0.161 H 268.2°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).
Color values
| HEX | #121D7F |
|---|---|
| RGB | rgb(18, 29, 127) |
| HSL | hsl(234, 75%, 28%) |
| HSV | hsv(234, 86%, 50%) |
| CMYK | cmyk(85.8%, 77.2%, 0%, 50.2%) |
| CIE-LAB | lab(18.09, 34.17, -55.52) |
| CIE-LCH | lch(18.09, 65.19, 301.61°) |
| OKLab | oklab(30.81% -0.0049 -0.1609) |
| OKLCH | oklch(30.81% 0.161 268.2) |
| XYZ | xyz(4.5183, 2.5391, 20.3265) |
| Luminance | 0.0254 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.53
Royal
#0C1793
ΔE00 3.39
Dark Royal Blue
#02066F
ΔE00 5.24
Navy
#000080
ΔE00 5.54
Darkblue
#00008B
ΔE00 5.55
Deep Blue
#040273
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#121D7F #7F7412
analogous
#12537F #121D7F #3D127F
triadic
#121D7F #7F121D #1D7F12
tetradic
#121D7F #7F1253 #7F7412 #127F3D
square
#121D7F #7F1253 #7F7412 #127F3D
split-complementary
#121D7F #7F3D12 #537F12
monochromatic
#04061B #0A1149 #121D7F #1A29B5 #2B3DE1
Accessibility & contrast
On white
13.93
#121D7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#121D7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #121D7F
13.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##121D7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##121D7F | 1.00 | 13.93 | 1.51 | 13.93 |
| #FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#00277D
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #121d7f; /* rgb */ color: rgb(18, 29, 127); /* oklch */ color: oklch(30.8% 0.161 268.2);
Tailwind
colors: {
custom: {
50: '#685aa5',
500: '#121d7f',
950: '#000000',
},
}SCSS
$custom: #121d7f; $custom-light: #685aa5; $custom-dark: #000000;
JSON
{
"hex": "#121d7f",
"rgb": {
"r": 18,
"g": 29,
"b": 127
},
"hsl": {
"h": 233.945,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.30813,
"c": 0.16099,
"h": 268.2
},
"luminance": 0.0254
}Semantic roles & 50–950 ramp
primary
#121D7F
secondary
#B5A838
accent
#DF36F2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F