#2E4AA6#2E4AA6
#2E4AA6 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.152 H 267.1°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4AA6 |
|---|---|
| RGB | rgb(46, 74, 166) |
| HSL | hsl(226, 57%, 42%) |
| HSV | hsv(226, 72%, 65%) |
| CMYK | cmyk(72.3%, 55.4%, 0%, 34.9%) |
| CIE-LAB | lab(34.46, 22.08, -52.70) |
| CIE-LCH | lch(34.46, 57.14, 292.74°) |
| OKLab | oklab(44.32% -0.0076 -0.1518) |
| OKLCH | oklch(44.32% 0.152 267.1) |
| XYZ | xyz(10.4560, 8.2305, 37.1066) |
| Luminance | 0.0823 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.85
Cobalt (survey)
#1E488F
ΔE00 4.21
Sapphire
#0F52BA
ΔE00 4.33
Blue Blue
#2242C7
ΔE00 5.32
Sapphire (survey)
#2138AB
ΔE00 5.73
Dusk Blue
#26538D
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4AA6 #A68A2E
analogous
#2E86A6 #2E4AA6 #4E2EA6
triadic
#2E4AA6 #A62E4A #4AA62E
tetradic
#2E4AA6 #A62E86 #A68A2E #2EA64E
square
#2E4AA6 #A62E86 #A68A2E #2EA64E
split-complementary
#2E4AA6 #A64E2E #86A62E
monochromatic
#131F46 #213576 #2E4AA6 #4665CC #768DD9
Accessibility & contrast
On white
7.94
#2E4AA6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#2E4AA6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4AA6
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4AA6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4AA6 | 1.00 | 7.94 | 2.65 | 7.94 |
| #FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#004CA4
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2e4aa6; /* rgb */ color: rgb(46, 74, 166); /* oklch */ color: oklch(44.3% 0.152 267.1);
Tailwind
colors: {
custom: {
50: '#777cc1',
500: '#2e4aa6',
950: '#000000',
},
}SCSS
$custom: #2e4aa6; $custom-light: #777cc1; $custom-dark: #000000;
JSON
{
"hex": "#2e4aa6",
"rgb": {
"r": 46,
"g": 74,
"b": 166
},
"hsl": {
"h": 226,
"s": 56.604,
"l": 41.569
},
"oklch": {
"l": 0.44315,
"c": 0.15195,
"h": 267.1
},
"luminance": 0.08232
}Semantic roles & 50–950 ramp
primary
#2E4AA6
secondary
#C1AE6F
accent
#BC48E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0912
muted
#7C7B81