#254899#254899
#254899 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.4% C 0.139 H 263.9°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #254899 |
|---|---|
| RGB | rgb(37, 72, 153) |
| HSL | hsl(222, 61%, 37%) |
| HSV | hsv(222, 76%, 60%) |
| CMYK | cmyk(75.8%, 52.9%, 0%, 40%) |
| CIE-LAB | lab(32.54, 17.21, -48.00) |
| CIE-LCH | lch(32.54, 50.99, 289.73°) |
| OKLab | oklab(42.45% -0.0149 -0.1381) |
| OKLCH | oklch(42.45% 0.139 263.9) |
| XYZ | xyz(8.8280, 7.3270, 31.0798) |
| Luminance | 0.0733 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.95
Cobalt
#0047AB
ΔE00 2.73
Darkish Blue
#014182
ΔE00 4.76
Dusk Blue
#26538D
ΔE00 4.79
Sapphire
#0F52BA
ΔE00 5.22
Twilight Blue
#0A437A
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254899 #997625
analogous
#258299 #254899 #3C2599
triadic
#254899 #992548 #489925
tetradic
#254899 #992582 #997625 #25993C
square
#254899 #992582 #997625 #25993C
split-complementary
#254899 #993C25 #829925
monochromatic
#0D1A36 #193168 #254899 #315FCA #6084D9
Accessibility & contrast
On white
8.52
#254899 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#254899 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254899
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254899 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254899 | 1.00 | 8.52 | 2.47 | 8.52 |
| #FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#11529C
Deuteranopia (green-blind)
#004797
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #254899; /* rgb */ color: rgb(37, 72, 153); /* oklch */ color: oklch(42.4% 0.139 263.9);
Tailwind
colors: {
custom: {
50: '#717ab8',
500: '#254899',
950: '#000000',
},
}SCSS
$custom: #254899; $custom-light: #717ab8; $custom-dark: #000000;
JSON
{
"hex": "#254899",
"rgb": {
"r": 37,
"g": 72,
"b": 153
},
"hsl": {
"h": 221.897,
"s": 61.053,
"l": 37.255
},
"oklch": {
"l": 0.42449,
"c": 0.13892,
"h": 263.9
},
"luminance": 0.07328
}Semantic roles & 50–950 ramp
primary
#254899
secondary
#BEA05C
accent
#B444E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80