#183F9F#183F9F
#183F9F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.162 H 263.8°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #183F9F |
|---|---|
| RGB | rgb(24, 63, 159) |
| HSL | hsl(223, 74%, 36%) |
| HSV | hsv(223, 85%, 62%) |
| CMYK | cmyk(84.9%, 60.4%, 0%, 37.6%) |
| CIE-LAB | lab(30.04, 24.36, -55.72) |
| CIE-LCH | lch(30.04, 60.81, 293.62°) |
| OKLab | oklab(40.58% -0.0175 -0.1612) |
| OKLCH | oklch(40.58% 0.162 263.8) |
| XYZ | xyz(8.4100, 6.2514, 33.5576) |
| Luminance | 0.0625 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.22
Sapphire (survey)
#2138AB
ΔE00 3.60
Cobalt (survey)
#1E488F
ΔE00 4.35
Darkish Blue
#014182
ΔE00 5.58
Blue Blue
#2242C7
ΔE00 5.85
Blueberry
#464196
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#183F9F #9F7818
analogous
#18829F #183F9F #35189F
triadic
#183F9F #9F183F #3F9F18
tetradic
#183F9F #9F1882 #9F7818 #189F35
square
#183F9F #9F1882 #9F7818 #189F35
split-complementary
#183F9F #9F3518 #829F18
monochromatic
#081535 #102A6A #183F9F #2054D4 #4D79E4
Accessibility & contrast
On white
9.33
#183F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#183F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #183F9F
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##183F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##183F9F | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#00419D
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #183f9f; /* rgb */ color: rgb(24, 63, 159); /* oklch */ color: oklch(40.6% 0.162 263.8);
Tailwind
colors: {
custom: {
50: '#6f73bc',
500: '#183f9f',
950: '#000000',
},
}SCSS
$custom: #183f9f; $custom-light: #6f73bc; $custom-dark: #000000;
JSON
{
"hex": "#183f9f",
"rgb": {
"r": 24,
"g": 63,
"b": 159
},
"hsl": {
"h": 222.667,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.4058,
"c": 0.16214,
"h": 263.8
},
"luminance": 0.06252
}Semantic roles & 50–950 ramp
primary
#183F9F
secondary
#C6A34D
accent
#BB37F0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81