#181272#181272
#181272 is a dark, vivid blue. Relative luminance 0.018; OKLCH L 28.0% C 0.153 H 273.0°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).
Color values
| HEX | #181272 |
|---|---|
| RGB | rgb(24, 18, 114) |
| HSL | hsl(244, 73%, 26%) |
| HSV | hsv(244, 84%, 45%) |
| CMYK | cmyk(78.9%, 84.2%, 0%, 55.3%) |
| CIE-LAB | lab(14.63, 36.34, -52.90) |
| CIE-LCH | lch(14.63, 64.18, 304.48°) |
| OKLab | oklab(28% 0.0081 -0.1531) |
| OKLCH | oklch(28% 0.153 273) |
| XYZ | xyz(3.6292, 1.8413, 16.0805) |
| Luminance | 0.0184 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.85
Dark Royal Blue
#02066F
ΔE00 2.55
Deep Blue
#040273
ΔE00 3.09
Darkblue (survey)
#030764
ΔE00 3.16
Navy
#000080
ΔE00 3.86
Darkblue
#00008B
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181272 #6C7212
analogous
#123C72 #181272 #481272
triadic
#181272 #721812 #127218
tetradic
#181272 #72123C #6C7212 #127248
square
#181272 #72123C #6C7212 #127248
split-complementary
#181272 #724812 #3C7212
monochromatic
#06041A #0D0A3D #181272 #231AA7 #2E23DC
Accessibility & contrast
On white
15.35
#181272 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#181272 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181272
15.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181272 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181272 | 1.00 | 15.35 | 1.37 | 15.35 |
| #FFFFFF | 15.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002975
Deuteranopia (green-blind)
#002070
Tritanopia (blue-blind)
#003043
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #181272; /* rgb */ color: rgb(24, 18, 114); /* oklch */ color: oklch(28.0% 0.153 273.0);
Tailwind
colors: {
custom: {
50: '#67539c',
500: '#181272',
950: '#000000',
},
}SCSS
$custom: #181272; $custom-light: #67539c; $custom-dark: #000000;
JSON
{
"hex": "#181272",
"rgb": {
"r": 24,
"g": 18,
"b": 114
},
"hsl": {
"h": 243.75,
"s": 72.727,
"l": 25.882
},
"oklch": {
"l": 0.28003,
"c": 0.15328,
"h": 273
},
"luminance": 0.01842
}Semantic roles & 50–950 ramp
primary
#181272
secondary
#A2A937
accent
#EF38E4
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#07020E
muted
#7A787E