#182C74#182C74
#182C74 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.7% C 0.126 H 267.1°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).
Color values
| HEX | #182C74 |
|---|---|
| RGB | rgb(24, 44, 116) |
| HSL | hsl(227, 66%, 27%) |
| HSV | hsv(227, 79%, 45%) |
| CMYK | cmyk(79.3%, 62.1%, 0%, 54.5%) |
| CIE-LAB | lab(21.04, 20.26, -43.65) |
| CIE-LCH | lch(21.04, 48.12, 294.90°) |
| OKLab | oklab(32.7% -0.0064 -0.1261) |
| OKLCH | oklch(32.7% 0.126 267.1) |
| XYZ | xyz(4.4287, 3.2560, 16.9147) |
| Luminance | 0.0326 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.01
Midnight Blue
#191970
ΔE00 6.08
Marine Blue
#01386A
ΔE00 6.86
Navy Blue
#1B2A4A
ΔE00 8.00
Darkish Blue
#014182
ΔE00 8.24
Royal
#0C1793
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#182C74 #746018
analogous
#185A74 #182C74 #321874
triadic
#182C74 #74182C #2C7418
tetradic
#182C74 #74185A #746018 #187432
square
#182C74 #74185A #746018 #187432
split-complementary
#182C74 #743218 #5A7418
monochromatic
#050A19 #0E1941 #182C74 #223FA7 #3255D5
Accessibility & contrast
On white
12.72
#182C74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#182C74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #182C74
12.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##182C74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##182C74 | 1.00 | 12.72 | 1.65 | 12.72 |
| #FFFFFF | 12.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #182c74; /* rgb */ color: rgb(24, 44, 116); /* oklch */ color: oklch(32.7% 0.126 267.1);
Tailwind
colors: {
custom: {
50: '#65649d',
500: '#182c74',
950: '#000000',
},
}SCSS
$custom: #182c74; $custom-light: #65649d; $custom-dark: #000000;
JSON
{
"hex": "#182c74",
"rgb": {
"r": 24,
"g": 44,
"b": 116
},
"hsl": {
"h": 226.957,
"s": 65.714,
"l": 27.451
},
"oklch": {
"l": 0.32699,
"c": 0.12623,
"h": 267.1
},
"luminance": 0.03257
}Semantic roles & 50–950 ramp
primary
#182C74
secondary
#A9923F
accent
#C43FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E