#121180#121180
#121180 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.173 H 269.2°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).
Color values
| HEX | #121180 |
|---|---|
| RGB | rgb(18, 17, 128) |
| HSL | hsl(241, 77%, 28%) |
| HSV | hsv(241, 87%, 50%) |
| CMYK | cmyk(85.9%, 86.7%, 0%, 49.8%) |
| CIE-LAB | lab(15.94, 41.11, -59.73) |
| CIE-LCH | lch(15.94, 72.51, 304.54°) |
| OKLab | oklab(29.34% -0.0024 -0.1729) |
| OKLCH | oklch(29.34% 0.173 269.2) |
| XYZ | xyz(4.3449, 2.0875, 20.5918) |
| Luminance | 0.0209 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy
#000080
ΔE00 2.77
Royal
#0C1793
ΔE00 2.91
Darkblue
#00008B
ΔE00 2.93
Deep Blue
#040273
ΔE00 3.23
Dark Royal Blue
#02066F
ΔE00 3.23
Midnight Blue
#191970
ΔE00 3.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#121180 #7F8011
analogous
#114780 #121180 #491180
triadic
#121180 #801211 #118012
tetradic
#121180 #801147 #7F8011 #118049
square
#121180 #801147 #7F8011 #118049
split-complementary
#121180 #804911 #478011
monochromatic
#04041B #0A0A4A #121180 #1A18B6 #2B29E3
Accessibility & contrast
On white
14.81
#121180 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#121180 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #121180
14.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##121180 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##121180 | 1.00 | 14.81 | 1.42 | 14.81 |
| #FFFFFF | 14.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D83
Deuteranopia (green-blind)
#00227E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #121180; /* rgb */ color: rgb(18, 17, 128); /* oklch */ color: oklch(29.3% 0.173 269.2);
Tailwind
colors: {
custom: {
50: '#6953a6',
500: '#121180',
950: '#000000',
},
}SCSS
$custom: #121180; $custom-light: #6953a6; $custom-dark: #000000;
JSON
{
"hex": "#121180",
"rgb": {
"r": 18,
"g": 17,
"b": 128
},
"hsl": {
"h": 240.541,
"s": 76.552,
"l": 28.431
},
"oklch": {
"l": 0.29338,
"c": 0.17292,
"h": 269.2
},
"luminance": 0.02088
}Semantic roles & 50–950 ramp
primary
#121180
secondary
#B5B637
accent
#F335F1
background
#F6F4FA
surface
#ECE7F4
border
#C7C3CE
text
#080310
muted
#7A787F