#183257#183257
#183257 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 31.7% C 0.074 H 257.5°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).
Color values
| HEX | #183257 |
|---|---|
| RGB | rgb(24, 50, 87) |
| HSL | hsl(215, 57%, 22%) |
| HSV | hsv(215, 72%, 34%) |
| CMYK | cmyk(72.4%, 42.5%, 0%, 65.9%) |
| CIE-LAB | lab(20.69, 3.94, -25.31) |
| CIE-LCH | lch(20.69, 25.62, 278.85°) |
| OKLab | oklab(31.73% -0.016 -0.0721) |
| OKLCH | oklch(31.73% 0.074 257.5) |
| XYZ | xyz(3.2370, 3.1632, 9.4549) |
| Luminance | 0.0316 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 2.80
Navy Blue
#1B2A4A
ΔE00 3.70
Marine Blue
#01386A
ΔE00 4.10
Twilight Blue
#0A437A
ΔE00 7.20
Darkish Blue
#014182
ΔE00 7.44
Prussian Blue
#004577
ΔE00 7.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#183257 #573D18
analogous
#185257 #183257 #1E1857
triadic
#183257 #571832 #325718
tetradic
#183257 #571852 #573D18 #18571E
square
#183257 #571852 #573D18 #18571E
split-complementary
#183257 #571E18 #525718
monochromatic
#070E18 #0B1627 #183257 #254E87 #3269B7
Accessibility & contrast
On white
12.86
#183257 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#183257 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #183257
12.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##183257 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##183257 | 1.00 | 12.86 | 1.63 | 12.86 |
| #FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#213558
Deuteranopia (green-blind)
#182F56
Tritanopia (blue-blind)
#003B40
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #183257; /* rgb */ color: rgb(24, 50, 87); /* oklch */ color: oklch(31.7% 0.074 257.5);
Tailwind
colors: {
custom: {
50: '#5d6986',
500: '#183257',
950: '#000000',
},
}SCSS
$custom: #183257; $custom-light: #5d6986; $custom-dark: #000000;
JSON
{
"hex": "#183257",
"rgb": {
"r": 24,
"g": 50,
"b": 87
},
"hsl": {
"h": 215.238,
"s": 56.757,
"l": 21.765
},
"oklch": {
"l": 0.3173,
"c": 0.07383,
"h": 257.5
},
"luminance": 0.03164
}Semantic roles & 50–950 ramp
primary
#183257
secondary
#8E6C3D
accent
#A148E0
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#05060B
muted
#797A7C