#183F88#183F88
#183F88 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.6% C 0.130 H 261.5°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #183F88 |
|---|---|
| RGB | rgb(24, 63, 136) |
| HSL | hsl(219, 70%, 31%) |
| HSV | hsv(219, 82%, 53%) |
| CMYK | cmyk(82.4%, 53.7%, 0%, 46.7%) |
| CIE-LAB | lab(28.18, 15.03, -44.65) |
| CIE-LCH | lch(28.18, 47.11, 288.61°) |
| OKLab | oklab(38.6% -0.0193 -0.1286) |
| OKLCH | oklch(38.6% 0.13 261.5) |
| XYZ | xyz(6.5965, 5.5260, 24.0067) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkish Blue
#014182
ΔE00 2.73
Cobalt (survey)
#1E488F
ΔE00 2.95
Twilight Blue
#0A437A
ΔE00 3.89
Marine Blue
#01386A
ΔE00 5.03
Cobalt
#0047AB
ΔE00 5.04
Prussian Blue
#004577
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#183F88 #886118
analogous
#187788 #183F88 #291888
triadic
#183F88 #88183F #3F8818
tetradic
#183F88 #881877 #886118 #188829
square
#183F88 #881877 #886118 #188829
split-complementary
#183F88 #882918 #778818
monochromatic
#060F20 #0F2754 #183F88 #2157BC #3E75DD
Accessibility & contrast
On white
9.97
#183F88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#183F88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #183F88
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##183F88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##183F88 | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B488B
Deuteranopia (green-blind)
#003E87
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #183f88; /* rgb */ color: rgb(24, 63, 136); /* oklch */ color: oklch(38.6% 0.130 261.5);
Tailwind
colors: {
custom: {
50: '#6973ab',
500: '#183f88',
950: '#000000',
},
}SCSS
$custom: #183f88; $custom-light: #6973ab; $custom-dark: #000000;
JSON
{
"hex": "#183f88",
"rgb": {
"r": 24,
"g": 63,
"b": 136
},
"hsl": {
"h": 219.107,
"s": 70,
"l": 31.373
},
"oklch": {
"l": 0.38599,
"c": 0.13009,
"h": 261.5
},
"luminance": 0.05527
}Semantic roles & 50–950 ramp
primary
#183F88
secondary
#BC9140
accent
#AF3BED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070810
muted
#7A7B7F