#2E5AA2#2E5AA2
#2E5AA2 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.5% C 0.126 H 259.8°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2E5AA2 |
|---|---|
| RGB | rgb(46, 90, 162) |
| HSL | hsl(217, 56%, 41%) |
| HSV | hsv(217, 72%, 64%) |
| CMYK | cmyk(71.6%, 44.4%, 0%, 36.5%) |
| CIE-LAB | lab(38.73, 9.98, -43.44) |
| CIE-LCH | lch(38.73, 44.57, 282.94°) |
| OKLab | oklab(47.49% -0.0224 -0.1242) |
| OKLCH | oklch(47.49% 0.126 259.8) |
| XYZ | xyz(11.3021, 10.5006, 35.6066) |
| Luminance | 0.1050 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.51
Dusk Blue
#26538D
ΔE00 3.48
Light Navy Blue
#2E5A88
ΔE00 3.61
Denim
#1560BD
ΔE00 3.88
Sapphire
#0F52BA
ΔE00 4.00
Dusky Blue
#475F94
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E5AA2 #A2762E
analogous
#2E94A2 #2E5AA2 #3C2EA2
triadic
#2E5AA2 #A22E5A #5AA22E
tetradic
#2E5AA2 #A22E94 #A2762E #2EA23C
square
#2E5AA2 #A22E94 #A2762E #2EA23C
split-complementary
#2E5AA2 #A23C2E #94A22E
monochromatic
#132543 #204072 #2E5AA2 #4376CA #7399D7
Accessibility & contrast
On white
6.77
#2E5AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#2E5AA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2E5AA2
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E5AA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E5AA2 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3761A5
Deuteranopia (green-blind)
#2256A1
Tritanopia (blue-blind)
#006B76
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2e5aa2; /* rgb */ color: rgb(46, 90, 162); /* oklch */ color: oklch(47.5% 0.126 259.8);
Tailwind
colors: {
custom: {
50: '#7588be',
500: '#2e5aa2',
950: '#000000',
},
}SCSS
$custom: #2e5aa2; $custom-light: #7588be; $custom-dark: #000000;
JSON
{
"hex": "#2e5aa2",
"rgb": {
"r": 46,
"g": 90,
"b": 162
},
"hsl": {
"h": 217.241,
"s": 55.769,
"l": 40.784
},
"oklch": {
"l": 0.47485,
"c": 0.12624,
"h": 259.8
},
"luminance": 0.10502
}Semantic roles & 50–950 ramp
primary
#2E5AA2
secondary
#BFA06D
accent
#A649DF
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81