#121A7F#121A7F
#121A7F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.4% C 0.164 H 268.6°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).
Color values
| HEX | #121A7F |
|---|---|
| RGB | rgb(18, 26, 127) |
| HSL | hsl(236, 75%, 28%) |
| HSV | hsv(236, 86%, 50%) |
| CMYK | cmyk(85.8%, 79.5%, 0%, 50.2%) |
| CIE-LAB | lab(17.46, 35.98, -56.58) |
| CIE-LCH | lch(17.46, 67.05, 302.45°) |
| OKLab | oklab(30.36% -0.004 -0.164) |
| OKLCH | oklch(30.36% 0.164 268.6) |
| XYZ | xyz(4.4483, 2.3992, 20.3032) |
| Luminance | 0.0240 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.43
Royal
#0C1793
ΔE00 3.05
Dark Royal Blue
#02066F
ΔE00 4.57
Navy
#000080
ΔE00 4.76
Darkblue
#00008B
ΔE00 4.81
Deep Blue
#040273
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#121A7F #7F7712
analogous
#12507F #121A7F #40127F
triadic
#121A7F #7F121A #1A7F12
tetradic
#121A7F #7F1250 #7F7712 #127F40
square
#121A7F #7F1250 #7F7712 #127F40
split-complementary
#121A7F #7F4012 #507F12
monochromatic
#04051B #0A0F49 #121A7F #1A25B5 #2B38E1
Accessibility & contrast
On white
14.19
#121A7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#121A7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #121A7F
14.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##121A7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##121A7F | 1.00 | 14.19 | 1.48 | 14.19 |
| #FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003082
Deuteranopia (green-blind)
#00257D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #121a7f; /* rgb */ color: rgb(18, 26, 127); /* oklch */ color: oklch(30.4% 0.164 268.6);
Tailwind
colors: {
custom: {
50: '#6858a5',
500: '#121a7f',
950: '#000000',
},
}SCSS
$custom: #121a7f; $custom-light: #6858a5; $custom-dark: #000000;
JSON
{
"hex": "#121a7f",
"rgb": {
"r": 18,
"g": 26,
"b": 127
},
"hsl": {
"h": 235.596,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.3036,
"c": 0.164,
"h": 268.6
},
"luminance": 0.024
}Semantic roles & 50–950 ramp
primary
#121A7F
secondary
#B5AC38
accent
#E436F2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F