#254FB0#254FB0
#254FB0 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.162 H 263.6°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #254FB0 |
|---|---|
| RGB | rgb(37, 79, 176) |
| HSL | hsl(222, 65%, 42%) |
| HSV | hsv(222, 79%, 69%) |
| CMYK | cmyk(79%, 55.1%, 0%, 31%) |
| CIE-LAB | lab(36.21, 21.48, -55.83) |
| CIE-LCH | lch(36.21, 59.82, 291.04°) |
| OKLab | oklab(45.77% -0.0181 -0.161) |
| OKLCH | oklch(45.77% 0.162 263.6) |
| XYZ | xyz(11.3926, 9.1185, 42.2255) |
| Luminance | 0.0912 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.00
Cobalt
#0047AB
ΔE00 2.88
Cobalt (survey)
#1E488F
ΔE00 4.91
Dusk Blue
#26538D
ΔE00 5.27
Blue Blue
#2242C7
ΔE00 5.67
Denim Blue
#3B5B92
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254FB0 #B08625
analogous
#2594B0 #254FB0 #4125B0
triadic
#254FB0 #B0254F #4FB025
tetradic
#254FB0 #B02594 #B08625 #25B041
square
#254FB0 #B02594 #B08625 #25B041
split-complementary
#254FB0 #B04125 #94B025
monochromatic
#10224B #1A387D #254FB0 #3C6BD6 #6F91E1
Accessibility & contrast
On white
7.44
#254FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#254FB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254FB0
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254FB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254FB0 | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB3
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #254fb0; /* rgb */ color: rgb(37, 79, 176); /* oklch */ color: oklch(45.8% 0.162 263.6);
Tailwind
colors: {
custom: {
50: '#767fc8',
500: '#254fb0',
950: '#000000',
},
}SCSS
$custom: #254fb0; $custom-light: #767fc8; $custom-dark: #000000;
JSON
{
"hex": "#254fb0",
"rgb": {
"r": 37,
"g": 79,
"b": 176
},
"hsl": {
"h": 221.871,
"s": 65.258,
"l": 41.765
},
"oklch": {
"l": 0.45773,
"c": 0.16204,
"h": 263.6
},
"luminance": 0.0912
}Semantic roles & 50–950 ramp
primary
#254FB0
secondary
#C7AB6A
accent
#B540E8
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82