#121C7F#121C7F
#121C7F is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.162 H 268.4°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).
Color values
| HEX | #121C7F |
|---|---|
| RGB | rgb(18, 28, 127) |
| HSL | hsl(234, 75%, 28%) |
| HSV | hsv(234, 86%, 50%) |
| CMYK | cmyk(85.8%, 78%, 0%, 50.2%) |
| CIE-LAB | lab(17.88, 34.78, -55.88) |
| CIE-LCH | lch(17.88, 65.82, 301.90°) |
| OKLab | oklab(30.66% -0.0046 -0.1619) |
| OKLCH | oklch(30.66% 0.162 268.4) |
| XYZ | xyz(4.4942, 2.4909, 20.3185) |
| Luminance | 0.0249 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.46
Royal
#0C1793
ΔE00 3.25
Dark Royal Blue
#02066F
ΔE00 5.01
Navy
#000080
ΔE00 5.27
Darkblue
#00008B
ΔE00 5.30
Deep Blue
#040273
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#121C7F #7F7512
analogous
#12527F #121C7F #3E127F
triadic
#121C7F #7F121C #1C7F12
tetradic
#121C7F #7F1252 #7F7512 #127F3E
square
#121C7F #7F1252 #7F7512 #127F3E
split-complementary
#121C7F #7F3E12 #527F12
monochromatic
#04061B #0A1049 #121C7F #1A28B5 #2B3BE1
Accessibility & contrast
On white
14.02
#121C7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#121C7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #121C7F
14.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##121C7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##121C7F | 1.00 | 14.02 | 1.50 | 14.02 |
| #FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003182
Deuteranopia (green-blind)
#00267D
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #121c7f; /* rgb */ color: rgb(18, 28, 127); /* oklch */ color: oklch(30.7% 0.162 268.4);
Tailwind
colors: {
custom: {
50: '#6859a5',
500: '#121c7f',
950: '#000000',
},
}SCSS
$custom: #121c7f; $custom-light: #6859a5; $custom-dark: #000000;
JSON
{
"hex": "#121c7f",
"rgb": {
"r": 18,
"g": 28,
"b": 127
},
"hsl": {
"h": 234.495,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.30658,
"c": 0.16202,
"h": 268.4
},
"luminance": 0.02491
}Semantic roles & 50–950 ramp
primary
#121C7F
secondary
#B5A938
accent
#E136F2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07030F
muted
#7A787F