#253F88#253F88
#253F88 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.1% C 0.126 H 266.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #253F88 |
|---|---|
| RGB | rgb(37, 63, 136) |
| HSL | hsl(224, 57%, 34%) |
| HSV | hsv(224, 73%, 53%) |
| CMYK | cmyk(72.8%, 53.7%, 0%, 46.7%) |
| CIE-LAB | lab(28.71, 16.70, -43.77) |
| CIE-LCH | lch(28.71, 46.85, 290.89°) |
| OKLab | oklab(39.14% -0.0089 -0.1258) |
| OKLCH | oklch(39.14% 0.126 266) |
| XYZ | xyz(6.9828, 5.7252, 24.0248) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.63
Darkish Blue
#014182
ΔE00 4.23
Twilight Blue
#0A437A
ΔE00 5.21
Cobalt
#0047AB
ΔE00 5.50
Marine Blue
#01386A
ΔE00 6.06
Blueberry
#464196
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#253F88 #886E25
analogous
#257188 #253F88 #3D2588
triadic
#253F88 #88253F #3F8825
tetradic
#253F88 #882571 #886E25 #25883D
square
#253F88 #882571 #886E25 #25883D
split-complementary
#253F88 #883D25 #718825
monochromatic
#0B1228 #182958 #253F88 #3255B8 #5677D1
Accessibility & contrast
On white
9.79
#253F88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#253F88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #253F88
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##253F88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##253F88 | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F488B
Deuteranopia (green-blind)
#003F87
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #253f88; /* rgb */ color: rgb(37, 63, 136); /* oklch */ color: oklch(39.1% 0.126 266.0);
Tailwind
colors: {
custom: {
50: '#6d73ab',
500: '#253f88',
950: '#000000',
},
}SCSS
$custom: #253f88; $custom-light: #6d73ab; $custom-dark: #000000;
JSON
{
"hex": "#253f88",
"rgb": {
"r": 37,
"g": 63,
"b": 136
},
"hsl": {
"h": 224.242,
"s": 57.225,
"l": 33.922
},
"oklch": {
"l": 0.39144,
"c": 0.12616,
"h": 266
},
"luminance": 0.05726
}Semantic roles & 50–950 ramp
primary
#253F88
secondary
#B69C53
accent
#B847E0
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F