#254BBE#254BBE
#254BBE is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.2% C 0.186 H 265.4°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #254BBE |
|---|---|
| RGB | rgb(37, 75, 190) |
| HSL | hsl(225, 67%, 45%) |
| HSV | hsv(225, 81%, 75%) |
| CMYK | cmyk(80.5%, 60.5%, 0%, 25.5%) |
| CIE-LAB | lab(36.26, 29.50, -64.01) |
| CIE-LCH | lch(36.26, 70.48, 294.75°) |
| OKLab | oklab(46.15% -0.0148 -0.1851) |
| OKLCH | oklch(46.15% 0.186 265.4) |
| XYZ | xyz(12.5700, 9.1417, 49.8072) |
| Luminance | 0.0914 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.16
Sapphire
#0F52BA
ΔE00 3.49
Cobalt
#0047AB
ΔE00 3.79
Blue (survey)
#0343DF
ΔE00 4.68
Sapphire (survey)
#2138AB
ΔE00 6.10
Ocean Blue
#4F42B5
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#254BBE #BE9825
analogous
#2598BE #254BBE #4C25BE
triadic
#254BBE #BE254B #4BBE25
tetradic
#254BBE #BE2598 #BE9825 #25BE4C
square
#254BBE #BE2598 #BE9825 #25BE4C
split-complementary
#254BBE #BE4C25 #98BE25
monochromatic
#112358 #1B378B #254BBE #456ADB #7993E5
Accessibility & contrast
On white
7.42
#254BBE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#254BBE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #254BBE
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##254BBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##254BBE | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#004EBC
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #254bbe; /* rgb */ color: rgb(37, 75, 190); /* oklch */ color: oklch(46.2% 0.186 265.4);
Tailwind
colors: {
custom: {
50: '#797cd3',
500: '#254bbe',
950: '#000000',
},
}SCSS
$custom: #254bbe; $custom-light: #797cd3; $custom-dark: #000000;
JSON
{
"hex": "#254bbe",
"rgb": {
"r": 37,
"g": 75,
"b": 190
},
"hsl": {
"h": 225.098,
"s": 67.401,
"l": 44.51
},
"oklch": {
"l": 0.46154,
"c": 0.1857,
"h": 265.4
},
"luminance": 0.09143
}Semantic roles & 50–950 ramp
primary
#254BBE
secondary
#CDB672
accent
#BF3EEA
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83