#2E5DBA#2E5DBA
#2E5DBA is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.8% C 0.156 H 262.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5DBA |
|---|---|
| RGB | rgb(46, 93, 186) |
| HSL | hsl(220, 60%, 45%) |
| HSV | hsv(220, 75%, 73%) |
| CMYK | cmyk(75.3%, 50%, 0%, 27.1%) |
| CIE-LAB | lab(41.14, 17.13, -53.72) |
| CIE-LCH | lch(41.14, 56.38, 287.69°) |
| OKLab | oklab(49.84% -0.0212 -0.1544) |
| OKLCH | oklch(49.84% 0.156 262.2) |
| XYZ | xyz(13.9008, 11.9532, 48.0194) |
| Luminance | 0.1196 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.58
Sapphire
#0F52BA
ΔE00 3.69
French Blue
#436BAD
ΔE00 5.01
Denim Blue
#3B5B92
ΔE00 5.02
Mid Blue
#276AB3
ΔE00 5.64
Denim (survey)
#3B638C
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5DBA #BA8B2E
analogous
#2EA3BA #2E5DBA #452EBA
triadic
#2E5DBA #BA2E5D #5DBA2E
tetradic
#2E5DBA #BA2EA3 #BA8B2E #2EBA45
square
#2E5DBA #BA2EA3 #BA8B2E #2EBA45
split-complementary
#2E5DBA #BA452E #A3BA2E
monochromatic
#162C58 #224489 #2E5DBA #517DD4 #82A2E0
Accessibility & contrast
On white
6.19
#2E5DBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#2E5DBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5DBA
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5DBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5DBA | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2568BD
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #2e5dba; /* rgb */ color: rgb(46, 93, 186); /* oklch */ color: oklch(49.8% 0.156 262.2);
Tailwind
colors: {
custom: {
50: '#7a8acf',
500: '#2e5dba',
950: '#000000',
},
}SCSS
$custom: #2e5dba; $custom-light: #7a8acf; $custom-dark: #000000;
JSON
{
"hex": "#2e5dba",
"rgb": {
"r": 46,
"g": 93,
"b": 186
},
"hsl": {
"h": 219.857,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.49839,
"c": 0.15587,
"h": 262.2
},
"luminance": 0.11955
}Semantic roles & 50–950 ramp
primary
#2E5DBA
secondary
#C9AF7B
accent
#AE44E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82