#254FB6#254FB6
#254FB6 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.170 H 264.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #254FB6 |
|---|---|
| RGB | rgb(37, 79, 182) |
| HSL | hsl(223, 66%, 43%) |
| HSV | hsv(223, 80%, 71%) |
| CMYK | cmyk(79.7%, 56.6%, 0%, 28.6%) |
| CIE-LAB | lab(36.67, 23.80, -58.63) |
| CIE-LCH | lch(36.67, 63.27, 292.09°) |
| OKLab | oklab(46.26% -0.0176 -0.1693) |
| OKLCH | oklch(46.26% 0.17 264.1) |
| XYZ | xyz(11.9994, 9.3613, 45.4214) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 1.95
Cobalt
#0047AB
ΔE00 3.26
Blue Blue
#2242C7
ΔE00 5.07
Cobalt (survey)
#1E488F
ΔE00 5.69
Dusk Blue
#26538D
ΔE00 6.01
Denim Blue
#3B5B92
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254FB6 #B68C25
analogous
#2597B6 #254FB6 #4425B6
triadic
#254FB6 #B6254F #4FB625
tetradic
#254FB6 #B62597 #B68C25 #25B644
square
#254FB6 #B62597 #B68C25 #25B644
split-complementary
#254FB6 #B64425 #97B625
monochromatic
#102350 #1B3983 #254FB6 #406CD8 #7393E3
Accessibility & contrast
On white
7.31
#254FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#254FB6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254FB6
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254FB6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254FB6 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBA
Deuteranopia (green-blind)
#0050B4
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #254fb6; /* rgb */ color: rgb(37, 79, 182); /* oklch */ color: oklch(46.3% 0.170 264.1);
Tailwind
colors: {
custom: {
50: '#777fcd',
500: '#254fb6',
950: '#000000',
},
}SCSS
$custom: #254fb6; $custom-light: #777fcd; $custom-dark: #000000;
JSON
{
"hex": "#254fb6",
"rgb": {
"r": 37,
"g": 79,
"b": 182
},
"hsl": {
"h": 222.621,
"s": 66.21,
"l": 42.941
},
"oklch": {
"l": 0.46264,
"c": 0.17018,
"h": 264.1
},
"luminance": 0.09363
}Semantic roles & 50–950 ramp
primary
#254FB6
secondary
#CAAF6D
accent
#B83FE9
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0A13
muted
#7C7C82