#251380#251380
#251380 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.8% C 0.166 H 277.8°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).
Color values
| HEX | #251380 |
|---|---|
| RGB | rgb(37, 19, 128) |
| HSL | hsl(250, 74%, 29%) |
| HSV | hsv(250, 85%, 50%) |
| CMYK | cmyk(71.1%, 85.2%, 0%, 49.8%) |
| CIE-LAB | lab(17.54, 41.41, -57.04) |
| CIE-LCH | lch(17.54, 70.48, 305.98°) |
| OKLab | oklab(30.78% 0.0225 -0.1648) |
| OKLCH | oklch(30.78% 0.166 277.8) |
| XYZ | xyz(4.8908, 2.4171, 20.6267) |
| Luminance | 0.0242 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.29
Indigo (survey)
#380282
ΔE00 3.45
Midnight Blue
#191970
ΔE00 3.52
Darkblue
#00008B
ΔE00 3.72
Navy
#000080
ΔE00 3.72
Deep Blue
#040273
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#251380 #6E8013
analogous
#133880 #251380 #5C1380
triadic
#251380 #802513 #138025
tetradic
#251380 #801338 #6E8013 #13805C
square
#251380 #801338 #6E8013 #13805C
split-complementary
#251380 #805C13 #388013
monochromatic
#08041B #160B4B #251380 #341BB5 #4B2DE0
Accessibility & contrast
On white
14.15
#251380 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.48
#251380 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #251380
14.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##251380 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##251380 | 1.00 | 14.15 | 1.48 | 14.15 |
| #FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2B2B2B
Design tokens & code
CSS
--color: #251380; /* rgb */ color: rgb(37, 19, 128); /* oklch */ color: oklch(30.8% 0.166 277.8);
Tailwind
colors: {
custom: {
50: '#6f55a6',
500: '#251380',
950: '#000000',
},
}SCSS
$custom: #251380; $custom-light: #6f55a6; $custom-dark: #000000;
JSON
{
"hex": "#251380",
"rgb": {
"r": 37,
"g": 19,
"b": 128
},
"hsl": {
"h": 249.908,
"s": 74.15,
"l": 28.824
},
"oklch": {
"l": 0.30779,
"c": 0.1663,
"h": 277.8
},
"luminance": 0.02418
}Semantic roles & 50–950 ramp
primary
#251380
secondary
#A1B539
accent
#F137D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F