#254EB3#254EB3
#254EB3 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.167 H 264.1°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).
Color values
| HEX | #254EB3 |
|---|---|
| RGB | rgb(37, 78, 179) |
| HSL | hsl(223, 66%, 42%) |
| HSV | hsv(223, 79%, 70%) |
| CMYK | cmyk(79.3%, 56.4%, 0%, 29.8%) |
| CIE-LAB | lab(36.17, 23.31, -57.68) |
| CIE-LCH | lch(36.17, 62.21, 292.00°) |
| OKLab | oklab(45.81% -0.0171 -0.1665) |
| OKLCH | oklch(45.81% 0.167 264.1) |
| XYZ | xyz(11.6211, 9.0954, 43.7822) |
| Luminance | 0.0910 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.20
Cobalt
#0047AB
ΔE00 2.87
Blue Blue
#2242C7
ΔE00 5.06
Cobalt (survey)
#1E488F
ΔE00 5.27
Dusk Blue
#26538D
ΔE00 5.83
Denim Blue
#3B5B92
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254EB3 #B38A25
analogous
#2595B3 #254EB3 #4325B3
triadic
#254EB3 #B3254E #4EB325
tetradic
#254EB3 #B32595 #B38A25 #25B343
square
#254EB3 #B32595 #B38A25 #25B343
split-complementary
#254EB3 #B34325 #95B325
monochromatic
#10224E #1B3880 #254EB3 #3E6AD7 #7191E2
Accessibility & contrast
On white
7.45
#254EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#254EB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254EB3
7.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254EB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254EB3 | 1.00 | 7.45 | 2.82 | 7.45 |
| #FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB6
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #254eb3; /* rgb */ color: rgb(37, 78, 179); /* oklch */ color: oklch(45.8% 0.167 264.1);
Tailwind
colors: {
custom: {
50: '#777fcb',
500: '#254eb3',
950: '#000000',
},
}SCSS
$custom: #254eb3; $custom-light: #777fcb; $custom-dark: #000000;
JSON
{
"hex": "#254eb3",
"rgb": {
"r": 37,
"g": 78,
"b": 179
},
"hsl": {
"h": 222.676,
"s": 65.741,
"l": 42.353
},
"oklch": {
"l": 0.45812,
"c": 0.16736,
"h": 264.1
},
"luminance": 0.09097
}Semantic roles & 50–950 ramp
primary
#254EB3
secondary
#C8AE6B
accent
#B83FE9
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82