#254FBA#254FBA
#254FBA is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.6% C 0.176 H 264.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #254FBA |
|---|---|
| RGB | rgb(37, 79, 186) |
| HSL | hsl(223, 67%, 44%) |
| HSV | hsv(223, 80%, 73%) |
| CMYK | cmyk(80.1%, 57.5%, 0%, 27.1%) |
| CIE-LAB | lab(36.98, 25.34, -60.47) |
| CIE-LCH | lch(36.98, 65.57, 292.74°) |
| OKLab | oklab(46.6% -0.0174 -0.1747) |
| OKLCH | oklch(46.6% 0.176 264.3) |
| XYZ | xyz(12.4187, 9.5290, 47.6296) |
| Luminance | 0.0953 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.11
Cobalt
#0047AB
ΔE00 3.61
Blue Blue
#2242C7
ΔE00 4.72
Blue (survey)
#0343DF
ΔE00 5.95
Cobalt (survey)
#1E488F
ΔE00 6.22
Dusk Blue
#26538D
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254FBA #BA9025
analogous
#2599BA #254FBA #4525BA
triadic
#254FBA #BA254F #4FBA25
tetradic
#254FBA #BA2599 #BA9025 #25BA45
square
#254FBA #BA2599 #BA9025 #25BA45
split-complementary
#254FBA #BA4525 #99BA25
monochromatic
#112454 #1B3987 #254FBA #436DDA #7695E4
Accessibility & contrast
On white
7.23
#254FBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#254FBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254FBA
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254FBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254FBA | 1.00 | 7.23 | 2.91 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #254fba; /* rgb */ color: rgb(37, 79, 186); /* oklch */ color: oklch(46.6% 0.176 264.3);
Tailwind
colors: {
custom: {
50: '#787fd0',
500: '#254fba',
950: '#000000',
},
}SCSS
$custom: #254fba; $custom-light: #787fd0; $custom-dark: #000000;
JSON
{
"hex": "#254fba",
"rgb": {
"r": 37,
"g": 79,
"b": 186
},
"hsl": {
"h": 223.087,
"s": 66.816,
"l": 43.725
},
"oklch": {
"l": 0.46597,
"c": 0.17554,
"h": 264.3
},
"luminance": 0.0953
}Semantic roles & 50–950 ramp
primary
#254FBA
secondary
#CBB170
accent
#B93EEA
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82