#121B7F#121B7F
#121B7F is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.5% C 0.163 H 268.5°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).
Color values
| HEX | #121B7F |
|---|---|
| RGB | rgb(18, 27, 127) |
| HSL | hsl(235, 75%, 28%) |
| HSV | hsv(235, 86%, 50%) |
| CMYK | cmyk(85.8%, 78.7%, 0%, 50.2%) |
| CIE-LAB | lab(17.66, 35.38, -56.23) |
| CIE-LCH | lch(17.66, 66.44, 302.18°) |
| OKLab | oklab(30.51% -0.0043 -0.163) |
| OKLCH | oklch(30.51% 0.163 268.5) |
| XYZ | xyz(4.4708, 2.4442, 20.3107) |
| Luminance | 0.0244 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.43
Royal
#0C1793
ΔE00 3.14
Dark Royal Blue
#02066F
ΔE00 4.78
Navy
#000080
ΔE00 5.01
Darkblue
#00008B
ΔE00 5.05
Deep Blue
#040273
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#121B7F #7F7612
analogous
#12517F #121B7F #3F127F
triadic
#121B7F #7F121B #1B7F12
tetradic
#121B7F #7F1251 #7F7612 #127F3F
square
#121B7F #7F1251 #7F7612 #127F3F
split-complementary
#121B7F #7F3F12 #517F12
monochromatic
#04061B #0A1049 #121B7F #1A26B5 #2B3AE1
Accessibility & contrast
On white
14.10
#121B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#121B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #121B7F
14.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##121B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##121B7F | 1.00 | 14.10 | 1.49 | 14.10 |
| #FFFFFF | 14.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #121b7f; /* rgb */ color: rgb(18, 27, 127); /* oklch */ color: oklch(30.5% 0.163 268.5);
Tailwind
colors: {
custom: {
50: '#6859a5',
500: '#121b7f',
950: '#000000',
},
}SCSS
$custom: #121b7f; $custom-light: #6859a5; $custom-dark: #000000;
JSON
{
"hex": "#121b7f",
"rgb": {
"r": 18,
"g": 27,
"b": 127
},
"hsl": {
"h": 235.046,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.30507,
"c": 0.16302,
"h": 268.5
},
"luminance": 0.02445
}Semantic roles & 50–950 ramp
primary
#121B7F
secondary
#B5AA38
accent
#E236F2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F