#253F99#253F99
#253F99 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.6% C 0.150 H 267.1°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #253F99 |
|---|---|
| RGB | rgb(37, 63, 153) |
| HSL | hsl(227, 61%, 37%) |
| HSV | hsv(227, 76%, 60%) |
| CMYK | cmyk(75.8%, 58.8%, 0%, 40%) |
| CIE-LAB | lab(30.03, 23.33, -52.07) |
| CIE-LCH | lch(30.03, 57.06, 294.13°) |
| OKLab | oklab(40.55% -0.0077 -0.1503) |
| OKLCH | oklch(40.55% 0.15 267.1) |
| XYZ | xyz(8.2882, 6.2473, 30.8999) |
| Luminance | 0.0625 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.77
Cobalt
#0047AB
ΔE00 4.14
Cobalt (survey)
#1E488F
ΔE00 4.46
Blueberry
#464196
ΔE00 5.12
Darkish Blue
#014182
ΔE00 5.82
Blue Blue
#2242C7
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#253F99 #997F25
analogous
#257999 #253F99 #452599
triadic
#253F99 #99253F #3F9925
tetradic
#253F99 #992579 #997F25 #259945
square
#253F99 #992579 #997F25 #259945
split-complementary
#253F99 #994525 #799925
monochromatic
#0D1636 #192B68 #253F99 #3153CA #607BD9
Accessibility & contrast
On white
9.33
#253F99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#253F99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #253F99
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##253F99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##253F99 | 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)
#004C9C
Deuteranopia (green-blind)
#004297
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #253f99; /* rgb */ color: rgb(37, 63, 153); /* oklch */ color: oklch(40.6% 0.150 267.1);
Tailwind
colors: {
custom: {
50: '#7173b8',
500: '#253f99',
950: '#000000',
},
}SCSS
$custom: #253f99; $custom-light: #7173b8; $custom-dark: #000000;
JSON
{
"hex": "#253f99",
"rgb": {
"r": 37,
"g": 63,
"b": 153
},
"hsl": {
"h": 226.552,
"s": 61.053,
"l": 37.255
},
"oklch": {
"l": 0.40554,
"c": 0.15046,
"h": 267.1
},
"luminance": 0.06248
}Semantic roles & 50–950 ramp
primary
#253F99
secondary
#BEA85C
accent
#C044E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80