#254998#254998
#254998 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.136 H 263.3°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #254998 |
|---|---|
| RGB | rgb(37, 73, 152) |
| HSL | hsl(221, 61%, 37%) |
| HSV | hsv(221, 76%, 60%) |
| CMYK | cmyk(75.7%, 52%, 0%, 40.4%) |
| CIE-LAB | lab(32.75, 16.14, -47.04) |
| CIE-LCH | lch(32.75, 49.74, 288.94°) |
| OKLab | oklab(42.59% -0.0158 -0.1353) |
| OKLCH | oklch(42.59% 0.136 263.3) |
| XYZ | xyz(8.8110, 7.4244, 30.6684) |
| Luminance | 0.0742 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.68
Cobalt
#0047AB
ΔE00 2.86
Dusk Blue
#26538D
ΔE00 4.38
Darkish Blue
#014182
ΔE00 4.66
Sapphire
#0F52BA
ΔE00 5.11
Twilight Blue
#0A437A
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254998 #987425
analogous
#258398 #254998 #3A2598
triadic
#254998 #982549 #499825
tetradic
#254998 #982583 #987425 #25983A
square
#254998 #982583 #987425 #25983A
split-complementary
#254998 #983A25 #839825
monochromatic
#0D1A36 #193167 #254998 #3161C9 #5F85D8
Accessibility & contrast
On white
8.45
#254998 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#254998 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254998
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254998 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254998 | 1.00 | 8.45 | 2.49 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#17539B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #254998; /* rgb */ color: rgb(37, 73, 152); /* oklch */ color: oklch(42.6% 0.136 263.3);
Tailwind
colors: {
custom: {
50: '#707bb7',
500: '#254998',
950: '#000000',
},
}SCSS
$custom: #254998; $custom-light: #707bb7; $custom-dark: #000000;
JSON
{
"hex": "#254998",
"rgb": {
"r": 37,
"g": 73,
"b": 152
},
"hsl": {
"h": 221.217,
"s": 60.847,
"l": 37.059
},
"oklch": {
"l": 0.42589,
"c": 0.13622,
"h": 263.3
},
"luminance": 0.07425
}Semantic roles & 50–950 ramp
primary
#254998
secondary
#BD9F5C
accent
#B244E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80