#252E95#252E95
#252E95 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.166 H 271.4°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).
Color values
| HEX | #252E95 |
|---|---|
| RGB | rgb(37, 46, 149) |
| HSL | hsl(235, 60%, 36%) |
| HSV | hsv(235, 75%, 58%) |
| CMYK | cmyk(75.2%, 69.1%, 0%, 41.6%) |
| CIE-LAB | lab(25.31, 33.13, -57.34) |
| CIE-LCH | lch(25.31, 66.22, 300.02°) |
| OKLab | oklab(36.96% 0.004 -0.1659) |
| OKLCH | oklch(36.96% 0.166 271.4) |
| XYZ | xyz(7.1629, 4.5165, 28.9222) |
| Luminance | 0.0452 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.01
Royal
#0C1793
ΔE00 5.62
Blueberry
#464196
ΔE00 6.46
Darkslateblue
#483D8B
ΔE00 6.67
Indigo Blue
#3A18B1
ΔE00 6.92
Midnight Blue
#191970
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#252E95 #958C25
analogous
#256695 #252E95 #542595
triadic
#252E95 #95252E #2E9525
tetradic
#252E95 #952566 #958C25 #259554
square
#252E95 #952566 #958C25 #259554
split-complementary
#252E95 #955425 #669525
monochromatic
#0D1033 #191F64 #252E95 #313DC6 #5E67D7
Accessibility & contrast
On white
11.03
#252E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#252E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #252E95
11.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##252E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##252E95 | 1.00 | 11.03 | 1.90 | 11.03 |
| #FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#004A5D
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #252e95; /* rgb */ color: rgb(37, 46, 149); /* oklch */ color: oklch(37.0% 0.166 271.4);
Tailwind
colors: {
custom: {
50: '#7267b5',
500: '#252e95',
950: '#000000',
},
}SCSS
$custom: #252e95; $custom-light: #7267b5; $custom-dark: #000000;
JSON
{
"hex": "#252e95",
"rgb": {
"r": 37,
"g": 46,
"b": 149
},
"hsl": {
"h": 235.179,
"s": 60.215,
"l": 36.471
},
"oklch": {
"l": 0.36965,
"c": 0.16591,
"h": 271.4
},
"luminance": 0.04517
}Semantic roles & 50–950 ramp
primary
#252E95
secondary
#BCB45A
accent
#D744E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80