#2E5ABC#2E5ABC
#2E5ABC is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.4% C 0.162 H 263.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5ABC |
|---|---|
| RGB | rgb(46, 90, 188) |
| HSL | hsl(221, 61%, 46%) |
| HSV | hsv(221, 76%, 74%) |
| CMYK | cmyk(75.5%, 52.1%, 0%, 26.3%) |
| CIE-LAB | lab(40.45, 19.85, -56.01) |
| CIE-LCH | lch(40.45, 59.42, 289.51°) |
| OKLab | oklab(49.35% -0.0186 -0.1612) |
| OKLCH | oklch(49.35% 0.162 263.4) |
| XYZ | xyz(13.8567, 11.5225, 49.0610) |
| Luminance | 0.1152 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.93
Denim
#1560BD
ΔE00 3.56
Denim Blue
#3B5B92
ΔE00 5.29
Azul
#1D5DEC
ΔE00 5.93
French Blue
#436BAD
ΔE00 6.03
Dusky Blue
#475F94
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5ABC #BC902E
analogous
#2EA1BC #2E5ABC #492EBC
triadic
#2E5ABC #BC2E5A #5ABC2E
tetradic
#2E5ABC #BC2EA1 #BC902E #2EBC49
square
#2E5ABC #BC2EA1 #BC902E #2EBC49
split-complementary
#2E5ABC #BC492E #A1BC2E
monochromatic
#162B5A #22428B #2E5ABC #527BD5 #84A0E1
Accessibility & contrast
On white
6.35
#2E5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#2E5ABC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5ABC
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5ABC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5ABC | 1.00 | 6.35 | 3.30 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1766BF
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2e5abc; /* rgb */ color: rgb(46, 90, 188); /* oklch */ color: oklch(49.4% 0.162 263.4);
Tailwind
colors: {
custom: {
50: '#7b88d1',
500: '#2e5abc',
950: '#000000',
},
}SCSS
$custom: #2e5abc; $custom-light: #7b88d1; $custom-dark: #000000;
JSON
{
"hex": "#2e5abc",
"rgb": {
"r": 46,
"g": 90,
"b": 188
},
"hsl": {
"h": 221.408,
"s": 60.684,
"l": 45.882
},
"oklch": {
"l": 0.49354,
"c": 0.16228,
"h": 263.4
},
"luminance": 0.11524
}Semantic roles & 50–950 ramp
primary
#2E5ABC
secondary
#CAB27C
accent
#B244E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82