#251599#251599
#251599 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 34.0% C 0.194 H 274.1°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).
Color values
| HEX | #251599 |
|---|---|
| RGB | rgb(37, 21, 153) |
| HSL | hsl(247, 76%, 34%) |
| HSV | hsv(247, 86%, 60%) |
| CMYK | cmyk(75.8%, 86.3%, 0%, 40%) |
| CIE-LAB | lab(20.94, 48.14, -67.03) |
| CIE-LCH | lch(20.94, 82.52, 305.69°) |
| OKLab | oklab(34.01% 0.014 -0.1938) |
| OKLCH | oklch(34.01% 0.194 274.1) |
| XYZ | xyz(6.7790, 3.2289, 30.3968) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.02
Cobalt Blue
#030AA7
ΔE00 2.51
Royal Blue (survey)
#0504AA
ΔE00 2.96
Ultramarine
#2000B1
ΔE00 3.52
Indigo Blue
#3A18B1
ΔE00 4.11
Darkblue
#00008B
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251599 #899915
analogous
#154799 #251599 #671599
triadic
#251599 #992515 #159925
tetradic
#251599 #991547 #899915 #159967
square
#251599 #991547 #899915 #159967
split-complementary
#251599 #996715 #479915
monochromatic
#0B062D #180E63 #251599 #321CCF #5743E5
Accessibility & contrast
On white
12.76
#251599 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#251599 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251599
12.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251599 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251599 | 1.00 | 12.76 | 1.65 | 12.76 |
| #FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00389C
Deuteranopia (green-blind)
#002C97
Tritanopia (blue-blind)
#00415A
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #251599; /* rgb */ color: rgb(37, 21, 153); /* oklch */ color: oklch(34.0% 0.194 274.1);
Tailwind
colors: {
custom: {
50: '#7558b8',
500: '#251599',
950: '#000000',
},
}SCSS
$custom: #251599; $custom-light: #7558b8; $custom-dark: #000000;
JSON
{
"hex": "#251599",
"rgb": {
"r": 37,
"g": 21,
"b": 153
},
"hsl": {
"h": 247.273,
"s": 75.862,
"l": 34.118
},
"oklch": {
"l": 0.34008,
"c": 0.19427,
"h": 274.1
},
"luminance": 0.0323
}Semantic roles & 50–950 ramp
primary
#251599
secondary
#B6C644
accent
#F235DC
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0412
muted
#7C7981