#253F9C#253F9C
#253F9C is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.8% C 0.155 H 267.2°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #253F9C |
|---|---|
| RGB | rgb(37, 63, 156) |
| HSL | hsl(227, 62%, 38%) |
| HSV | hsv(227, 76%, 61%) |
| CMYK | cmyk(76.3%, 59.6%, 0%, 38.8%) |
| CIE-LAB | lab(30.27, 24.48, -53.50) |
| CIE-LCH | lch(30.27, 58.83, 294.59°) |
| OKLab | oklab(40.81% -0.0076 -0.1544) |
| OKLCH | oklch(40.81% 0.155 267.2) |
| XYZ | xyz(8.5391, 6.3477, 32.2212) |
| Luminance | 0.0635 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.38
Cobalt
#0047AB
ΔE00 4.02
Cobalt (survey)
#1E488F
ΔE00 4.72
Blueberry
#464196
ΔE00 5.08
Blue Blue
#2242C7
ΔE00 5.95
Darkish Blue
#014182
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#253F9C #9C8225
analogous
#257A9C #253F9C #47259C
triadic
#253F9C #9C253F #3F9C25
tetradic
#253F9C #9C257A #9C8225 #259C47
square
#253F9C #9C257A #9C8225 #259C47
split-complementary
#253F9C #9C4725 #7A9C25
monochromatic
#0E1739 #192B6B #253F9C #3153CD #627CDA
Accessibility & contrast
On white
9.25
#253F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#253F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #253F9C
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##253F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##253F9C | 1.00 | 9.25 | 2.27 | 9.25 |
| #FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #253f9c; /* rgb */ color: rgb(37, 63, 156); /* oklch */ color: oklch(40.8% 0.155 267.2);
Tailwind
colors: {
custom: {
50: '#7273ba',
500: '#253f9c',
950: '#000000',
},
}SCSS
$custom: #253f9c; $custom-light: #7273ba; $custom-dark: #000000;
JSON
{
"hex": "#253f9c",
"rgb": {
"r": 37,
"g": 63,
"b": 156
},
"hsl": {
"h": 226.891,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.40814,
"c": 0.15463,
"h": 267.2
},
"luminance": 0.06349
}Semantic roles & 50–950 ramp
primary
#253F9C
secondary
#BFAA5E
accent
#C143E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090812
muted
#7B7B81