#254CBE#254CBE
#254CBE is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.184 H 265.2°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #254CBE |
|---|---|
| RGB | rgb(37, 76, 190) |
| HSL | hsl(225, 67%, 45%) |
| HSV | hsv(225, 81%, 75%) |
| CMYK | cmyk(80.5%, 60%, 0%, 25.5%) |
| CIE-LAB | lab(36.51, 28.85, -63.58) |
| CIE-LCH | lch(36.51, 69.82, 294.40°) |
| OKLab | oklab(46.35% -0.0154 -0.1839) |
| OKLCH | oklch(46.35% 0.185 265.2) |
| XYZ | xyz(12.6384, 9.2784, 49.8300) |
| Luminance | 0.0928 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.20
Blue Blue
#2242C7
ΔE00 3.47
Cobalt
#0047AB
ΔE00 3.80
Blue (survey)
#0343DF
ΔE00 4.86
Sapphire (survey)
#2138AB
ΔE00 6.41
Warm Blue
#4B57DB
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254CBE #BE9725
analogous
#2599BE #254CBE #4B25BE
triadic
#254CBE #BE254C #4CBE25
tetradic
#254CBE #BE2599 #BE9725 #25BE4B
square
#254CBE #BE2599 #BE9725 #25BE4B
split-complementary
#254CBE #BE4B25 #99BE25
monochromatic
#112358 #1B388B #254CBE #456BDB #7994E5
Accessibility & contrast
On white
7.35
#254CBE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#254CBE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254CBE
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254CBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254CBE | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#004FBC
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #254cbe; /* rgb */ color: rgb(37, 76, 190); /* oklch */ color: oklch(46.3% 0.184 265.2);
Tailwind
colors: {
custom: {
50: '#797dd3',
500: '#254cbe',
950: '#000000',
},
}SCSS
$custom: #254cbe; $custom-light: #797dd3; $custom-dark: #000000;
JSON
{
"hex": "#254cbe",
"rgb": {
"r": 37,
"g": 76,
"b": 190
},
"hsl": {
"h": 224.706,
"s": 67.401,
"l": 44.51
},
"oklch": {
"l": 0.46347,
"c": 0.1845,
"h": 265.2
},
"luminance": 0.0928
}Semantic roles & 50–950 ramp
primary
#254CBE
secondary
#CDB672
accent
#BE3EEA
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83