#252F83#252F83
#252F83 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.140 H 271.9°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).
Color values
| HEX | #252F83 |
|---|---|
| RGB | rgb(37, 47, 131) |
| HSL | hsl(234, 56%, 33%) |
| HSV | hsv(234, 72%, 51%) |
| CMYK | cmyk(71.8%, 64.1%, 0%, 48.6%) |
| CIE-LAB | lab(23.88, 25.78, -48.49) |
| CIE-LCH | lch(23.88, 54.92, 298.00°) |
| OKLab | oklab(35.41% 0.0046 -0.1399) |
| OKLCH | oklch(35.41% 0.14 271.9) |
| XYZ | xyz(5.8748, 4.0645, 21.9432) |
| Luminance | 0.0406 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 6.12
Darkslateblue
#483D8B
ΔE00 6.27
Midnight Blue
#191970
ΔE00 6.34
Blueberry
#464196
ΔE00 6.67
Royal
#0C1793
ΔE00 7.01
Marine
#042E60
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252F83 #837925
analogous
#255E83 #252F83 #4A2583
triadic
#252F83 #83252F #2F8325
tetradic
#252F83 #83255E #837925 #25834A
square
#252F83 #83255E #837925 #25834A
split-complementary
#252F83 #834A25 #5E8325
monochromatic
#0A0D24 #181E53 #252F83 #3240B3 #5461CF
Accessibility & contrast
On white
11.58
#252F83 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#252F83 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252F83
11.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252F83 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252F83 | 1.00 | 11.58 | 1.81 | 11.58 |
| #FFFFFF | 11.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #252f83; /* rgb */ color: rgb(37, 47, 131); /* oklch */ color: oklch(35.4% 0.140 271.9);
Tailwind
colors: {
custom: {
50: '#6d67a8',
500: '#252f83',
950: '#000000',
},
}SCSS
$custom: #252f83; $custom-light: #6d67a8; $custom-dark: #000000;
JSON
{
"hex": "#252f83",
"rgb": {
"r": 37,
"g": 47,
"b": 131
},
"hsl": {
"h": 233.617,
"s": 55.952,
"l": 32.941
},
"oklch": {
"l": 0.35408,
"c": 0.14003,
"h": 271.9
},
"luminance": 0.04065
}Semantic roles & 50–950 ramp
primary
#252F83
secondary
#B3A851
accent
#CF49DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F