#254EBA#254EBA
#254EBA is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.177 H 264.6°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #254EBA |
|---|---|
| RGB | rgb(37, 78, 186) |
| HSL | hsl(223, 67%, 44%) |
| HSV | hsv(223, 80%, 73%) |
| CMYK | cmyk(80.1%, 58.1%, 0%, 27.1%) |
| CIE-LAB | lab(36.72, 26.00, -60.91) |
| CIE-LCH | lch(36.72, 66.22, 293.12°) |
| OKLab | oklab(46.4% -0.0167 -0.176) |
| OKLCH | oklch(46.4% 0.177 264.6) |
| XYZ | xyz(12.3471, 9.3858, 47.6057) |
| Luminance | 0.0939 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.39
Cobalt
#0047AB
ΔE00 3.49
Blue Blue
#2242C7
ΔE00 4.41
Blue (survey)
#0343DF
ΔE00 5.74
Cobalt (survey)
#1E488F
ΔE00 6.21
Dusk Blue
#26538D
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254EBA #BA9125
analogous
#2598BA #254EBA #4625BA
triadic
#254EBA #BA254E #4EBA25
tetradic
#254EBA #BA2598 #BA9125 #25BA46
square
#254EBA #BA2598 #BA9125 #25BA46
split-complementary
#254EBA #BA4625 #98BA25
monochromatic
#112354 #1B3987 #254EBA #436CDA #7694E4
Accessibility & contrast
On white
7.30
#254EBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#254EBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254EBA
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254EBA | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #254eba; /* rgb */ color: rgb(37, 78, 186); /* oklch */ color: oklch(46.4% 0.177 264.6);
Tailwind
colors: {
custom: {
50: '#787fd0',
500: '#254eba',
950: '#000000',
},
}SCSS
$custom: #254eba; $custom-light: #787fd0; $custom-dark: #000000;
JSON
{
"hex": "#254eba",
"rgb": {
"r": 37,
"g": 78,
"b": 186
},
"hsl": {
"h": 223.49,
"s": 66.816,
"l": 43.725
},
"oklch": {
"l": 0.46397,
"c": 0.17677,
"h": 264.6
},
"luminance": 0.09387
}Semantic roles & 50–950 ramp
primary
#254EBA
secondary
#CBB270
accent
#BA3EEA
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82