#254BA5#254BA5
#254BA5 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.0% C 0.152 H 263.9°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #254BA5 |
|---|---|
| RGB | rgb(37, 75, 165) |
| HSL | hsl(222, 63%, 40%) |
| HSV | hsv(222, 78%, 65%) |
| CMYK | cmyk(77.6%, 54.5%, 0%, 35.3%) |
| CIE-LAB | lab(34.27, 19.88, -52.42) |
| CIE-LCH | lch(34.27, 56.06, 290.77°) |
| OKLab | oklab(44.05% -0.016 -0.1511) |
| OKLCH | oklch(44.05% 0.152 263.9) |
| XYZ | xyz(10.0681, 8.1409, 36.6307) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.03
Cobalt (survey)
#1E488F
ΔE00 3.36
Sapphire
#0F52BA
ΔE00 3.59
Dusk Blue
#26538D
ΔE00 4.93
Blue Blue
#2242C7
ΔE00 5.98
Denim Blue
#3B5B92
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254BA5 #A57F25
analogous
#258BA5 #254BA5 #3F25A5
triadic
#254BA5 #A5254B #4BA525
tetradic
#254BA5 #A5258B #A57F25 #25A53F
square
#254BA5 #A5258B #A57F25 #25A53F
split-complementary
#254BA5 #A53F25 #8BA525
monochromatic
#0F1E41 #1A3473 #254BA5 #3564D2 #678ADD
Accessibility & contrast
On white
7.99
#254BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#254BA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254BA5
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254BA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254BA5 | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057A8
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #254ba5; /* rgb */ color: rgb(37, 75, 165); /* oklch */ color: oklch(44.0% 0.152 263.9);
Tailwind
colors: {
custom: {
50: '#737cc0',
500: '#254ba5',
950: '#000000',
},
}SCSS
$custom: #254ba5; $custom-light: #737cc0; $custom-dark: #000000;
JSON
{
"hex": "#254ba5",
"rgb": {
"r": 37,
"g": 75,
"b": 165
},
"hsl": {
"h": 222.188,
"s": 63.366,
"l": 39.608
},
"oklch": {
"l": 0.44046,
"c": 0.15193,
"h": 263.9
},
"luminance": 0.08142
}Semantic roles & 50–950 ramp
primary
#254BA5
secondary
#C3A663
accent
#B541E6
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81