#254698#254698
#254698 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.9% C 0.140 H 264.5°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #254698 |
|---|---|
| RGB | rgb(37, 70, 152) |
| HSL | hsl(223, 61%, 37%) |
| HSV | hsv(223, 76%, 60%) |
| CMYK | cmyk(75.7%, 53.9%, 0%, 40.4%) |
| CIE-LAB | lab(31.90, 18.18, -48.43) |
| CIE-LCH | lch(31.90, 51.73, 290.57°) |
| OKLab | oklab(41.94% -0.0133 -0.1394) |
| OKLCH | oklch(41.94% 0.14 264.5) |
| XYZ | xyz(8.6186, 7.0397, 30.6042) |
| Luminance | 0.0704 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.25
Cobalt
#0047AB
ΔE00 2.91
Darkish Blue
#014182
ΔE00 4.72
Dusk Blue
#26538D
ΔE00 5.41
Twilight Blue
#0A437A
ΔE00 5.61
Sapphire
#0F52BA
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254698 #987725
analogous
#258098 #254698 #3E2598
triadic
#254698 #982546 #469825
tetradic
#254698 #982580 #987725 #25983E
square
#254698 #982580 #987725 #25983E
split-complementary
#254698 #983E25 #809825
monochromatic
#0D1936 #192F67 #254698 #315DC9 #5F82D8
Accessibility & contrast
On white
8.72
#254698 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#254698 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254698
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254698 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254698 | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A519B
Deuteranopia (green-blind)
#004696
Tritanopia (blue-blind)
#005A68
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #254698; /* rgb */ color: rgb(37, 70, 152); /* oklch */ color: oklch(41.9% 0.140 264.5);
Tailwind
colors: {
custom: {
50: '#7078b7',
500: '#254698',
950: '#000000',
},
}SCSS
$custom: #254698; $custom-light: #7078b7; $custom-dark: #000000;
JSON
{
"hex": "#254698",
"rgb": {
"r": 37,
"g": 70,
"b": 152
},
"hsl": {
"h": 222.783,
"s": 60.847,
"l": 37.059
},
"oklch": {
"l": 0.41938,
"c": 0.14006,
"h": 264.5
},
"luminance": 0.07041
}Semantic roles & 50–950 ramp
primary
#254698
secondary
#BDA15C
accent
#B644E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80