#254897#254897
#254897 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.3% C 0.136 H 263.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #254897 |
|---|---|
| RGB | rgb(37, 72, 151) |
| HSL | hsl(222, 61%, 37%) |
| HSV | hsv(222, 75%, 59%) |
| CMYK | cmyk(75.5%, 52.3%, 0%, 40.8%) |
| CIE-LAB | lab(32.40, 16.43, -47.02) |
| CIE-LCH | lch(32.40, 49.80, 289.26°) |
| OKLab | oklab(42.29% -0.0151 -0.1352) |
| OKLCH | oklch(42.29% 0.136 263.6) |
| XYZ | xyz(8.6642, 7.2615, 30.2171) |
| Luminance | 0.0726 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 1.69
Cobalt
#0047AB
ΔE00 2.94
Darkish Blue
#014182
ΔE00 4.54
Dusk Blue
#26538D
ΔE00 4.65
Twilight Blue
#0A437A
ΔE00 5.31
Sapphire
#0F52BA
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254897 #977425
analogous
#258197 #254897 #3B2597
triadic
#254897 #972548 #489725
tetradic
#254897 #972581 #977425 #25973B
square
#254897 #972581 #977425 #25973B
split-complementary
#254897 #973B25 #819725
monochromatic
#0D1935 #193166 #254897 #315FC8 #5F84D8
Accessibility & contrast
On white
8.56
#254897 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#254897 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254897
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254897 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254897 | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#15529A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #254897; /* rgb */ color: rgb(37, 72, 151); /* oklch */ color: oklch(42.3% 0.136 263.6);
Tailwind
colors: {
custom: {
50: '#707ab6',
500: '#254897',
950: '#000000',
},
}SCSS
$custom: #254897; $custom-light: #707ab6; $custom-dark: #000000;
JSON
{
"hex": "#254897",
"rgb": {
"r": 37,
"g": 72,
"b": 151
},
"hsl": {
"h": 221.579,
"s": 60.638,
"l": 36.863
},
"oklch": {
"l": 0.42292,
"c": 0.13608,
"h": 263.6
},
"luminance": 0.07262
}Semantic roles & 50–950 ramp
primary
#254897
secondary
#BD9F5B
accent
#B344E4
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80