#254BB3#254BB3
#254BB3 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.171 H 264.9°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #254BB3 |
|---|---|
| RGB | rgb(37, 75, 179) |
| HSL | hsl(224, 66%, 42%) |
| HSV | hsv(224, 79%, 70%) |
| CMYK | cmyk(79.3%, 58.1%, 0%, 29.8%) |
| CIE-LAB | lab(35.36, 25.30, -58.99) |
| CIE-LCH | lch(35.36, 64.19, 293.21°) |
| OKLab | oklab(45.2% -0.0151 -0.1704) |
| OKLCH | oklch(45.2% 0.171 264.9) |
| XYZ | xyz(11.4128, 8.6788, 43.7128) |
| Luminance | 0.0868 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.59
Sapphire
#0F52BA
ΔE00 3.11
Blue Blue
#2242C7
ΔE00 4.23
Cobalt (survey)
#1E488F
ΔE00 5.32
Sapphire (survey)
#2138AB
ΔE00 5.95
Blue (survey)
#0343DF
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254BB3 #B38D25
analogous
#2592B3 #254BB3 #4625B3
triadic
#254BB3 #B3254B #4BB325
tetradic
#254BB3 #B32592 #B38D25 #25B346
square
#254BB3 #B32592 #B38D25 #25B346
split-complementary
#254BB3 #B34625 #92B325
monochromatic
#10204E #1B3680 #254BB3 #3E67D7 #718FE2
Accessibility & contrast
On white
7.68
#254BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#254BB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254BB3
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254BB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254BB3 | 1.00 | 7.68 | 2.74 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#004DB1
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #254bb3; /* rgb */ color: rgb(37, 75, 179); /* oklch */ color: oklch(45.2% 0.171 264.9);
Tailwind
colors: {
custom: {
50: '#777ccb',
500: '#254bb3',
950: '#000000',
},
}SCSS
$custom: #254bb3; $custom-light: #777ccb; $custom-dark: #000000;
JSON
{
"hex": "#254bb3",
"rgb": {
"r": 37,
"g": 75,
"b": 179
},
"hsl": {
"h": 223.944,
"s": 65.741,
"l": 42.353
},
"oklch": {
"l": 0.45203,
"c": 0.17107,
"h": 264.9
},
"luminance": 0.0868
}Semantic roles & 50–950 ramp
primary
#254BB3
secondary
#C8B06B
accent
#BB3FE9
background
#F7F7FC
surface
#EEEEF9
border
#C9C9D2
text
#0A0913
muted
#7C7B82