#253F98#253F98
#253F98 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.149 H 267.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #253F98 |
|---|---|
| RGB | rgb(37, 63, 152) |
| HSL | hsl(226, 61%, 37%) |
| HSV | hsv(226, 76%, 60%) |
| CMYK | cmyk(75.7%, 58.6%, 0%, 40.4%) |
| CIE-LAB | lab(29.95, 22.94, -51.59) |
| CIE-LCH | lch(29.95, 56.46, 293.97°) |
| OKLab | oklab(40.47% -0.0078 -0.1489) |
| OKLCH | oklch(40.47% 0.149 267) |
| XYZ | xyz(8.2060, 6.2144, 30.4667) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.90
Cobalt
#0047AB
ΔE00 4.18
Cobalt (survey)
#1E488F
ΔE00 4.38
Blueberry
#464196
ΔE00 5.14
Darkish Blue
#014182
ΔE00 5.71
Blue Blue
#2242C7
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#253F98 #987E25
analogous
#257998 #253F98 #452598
triadic
#253F98 #98253F #3F9825
tetradic
#253F98 #982579 #987E25 #259845
square
#253F98 #982579 #987E25 #259845
split-complementary
#253F98 #984525 #799825
monochromatic
#0D1636 #192B67 #253F98 #3153C9 #5F7BD8
Accessibility & contrast
On white
9.36
#253F98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#253F98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #253F98
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##253F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##253F98 | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004C9B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #253f98; /* rgb */ color: rgb(37, 63, 152); /* oklch */ color: oklch(40.5% 0.149 267.0);
Tailwind
colors: {
custom: {
50: '#7173b7',
500: '#253f98',
950: '#000000',
},
}SCSS
$custom: #253f98; $custom-light: #7173b7; $custom-dark: #000000;
JSON
{
"hex": "#253f98",
"rgb": {
"r": 37,
"g": 63,
"b": 152
},
"hsl": {
"h": 226.435,
"s": 60.847,
"l": 37.059
},
"oklch": {
"l": 0.40468,
"c": 0.14906,
"h": 267
},
"luminance": 0.06215
}Semantic roles & 50–950 ramp
primary
#253F98
secondary
#BDA75C
accent
#C044E4
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80