#2E5FBD#2E5FBD
#2E5FBD is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.5% C 0.158 H 261.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5FBD |
|---|---|
| RGB | rgb(46, 95, 189) |
| HSL | hsl(219, 61%, 46%) |
| HSV | hsv(219, 76%, 74%) |
| CMYK | cmyk(75.7%, 49.7%, 0%, 25.9%) |
| CIE-LAB | lab(41.90, 16.97, -54.24) |
| CIE-LCH | lch(41.90, 56.83, 287.38°) |
| OKLab | oklab(50.49% -0.0224 -0.1559) |
| OKLCH | oklch(50.49% 0.158 261.8) |
| XYZ | xyz(14.4009, 12.4378, 49.7760) |
| Luminance | 0.1244 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.26
Sapphire
#0F52BA
ΔE00 4.33
French Blue
#436BAD
ΔE00 4.49
Mid Blue
#276AB3
ΔE00 5.10
Denim Blue
#3B5B92
ΔE00 5.45
Denim (survey)
#3B638C
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5FBD #BD8C2E
analogous
#2EA6BD #2E5FBD #452EBD
triadic
#2E5FBD #BD2E5F #5FBD2E
tetradic
#2E5FBD #BD2EA6 #BD8C2E #2EBD45
square
#2E5FBD #BD2EA6 #BD8C2E #2EBD45
split-complementary
#2E5FBD #BD452E #A6BD2E
monochromatic
#162E5B #22468C #2E5FBD #5380D5 #84A4E1
Accessibility & contrast
On white
6.02
#2E5FBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#2E5FBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5FBD
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5FBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5FBD | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#276AC0
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2e5fbd; /* rgb */ color: rgb(46, 95, 189); /* oklch */ color: oklch(50.5% 0.158 261.8);
Tailwind
colors: {
custom: {
50: '#7b8bd1',
500: '#2e5fbd',
950: '#000000',
},
}SCSS
$custom: #2e5fbd; $custom-light: #7b8bd1; $custom-dark: #000000;
JSON
{
"hex": "#2e5fbd",
"rgb": {
"r": 46,
"g": 95,
"b": 189
},
"hsl": {
"h": 219.441,
"s": 60.851,
"l": 46.078
},
"oklch": {
"l": 0.50486,
"c": 0.15752,
"h": 261.8
},
"luminance": 0.12439
}Semantic roles & 50–950 ramp
primary
#2E5FBD
secondary
#CAB07C
accent
#AD44E4
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82