#2E49A6#2E49A6
#2E49A6 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.1% C 0.153 H 267.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2E49A6 |
|---|---|
| RGB | rgb(46, 73, 166) |
| HSL | hsl(227, 57%, 42%) |
| HSV | hsv(227, 72%, 65%) |
| CMYK | cmyk(72.3%, 56%, 0%, 34.9%) |
| CIE-LAB | lab(34.19, 22.75, -53.14) |
| CIE-LCH | lch(34.19, 57.81, 293.18°) |
| OKLab | oklab(44.11% -0.0068 -0.1531) |
| OKLCH | oklch(44.11% 0.153 267.5) |
| XYZ | xyz(10.3898, 8.0980, 37.0845) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.89
Cobalt (survey)
#1E488F
ΔE00 4.32
Sapphire
#0F52BA
ΔE00 4.59
Blue Blue
#2242C7
ΔE00 5.14
Sapphire (survey)
#2138AB
ΔE00 5.39
Blueberry
#464196
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E49A6 #A68B2E
analogous
#2E85A6 #2E49A6 #4F2EA6
triadic
#2E49A6 #A62E49 #49A62E
tetradic
#2E49A6 #A62E85 #A68B2E #2EA64F
square
#2E49A6 #A62E85 #A68B2E #2EA64F
split-complementary
#2E49A6 #A64F2E #85A62E
monochromatic
#131F46 #213476 #2E49A6 #4664CC #768CD9
Accessibility & contrast
On white
8.02
#2E49A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#2E49A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E49A6
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E49A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E49A6 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056A9
Deuteranopia (green-blind)
#004BA4
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #2e49a6; /* rgb */ color: rgb(46, 73, 166); /* oklch */ color: oklch(44.1% 0.153 267.5);
Tailwind
colors: {
custom: {
50: '#777bc1',
500: '#2e49a6',
950: '#000000',
},
}SCSS
$custom: #2e49a6; $custom-light: #777bc1; $custom-dark: #000000;
JSON
{
"hex": "#2e49a6",
"rgb": {
"r": 46,
"g": 73,
"b": 166
},
"hsl": {
"h": 226.5,
"s": 56.604,
"l": 41.569
},
"oklch": {
"l": 0.4411,
"c": 0.15323,
"h": 267.5
},
"luminance": 0.08099
}Semantic roles & 50–950 ramp
primary
#2E49A6
secondary
#C1AE6F
accent
#BE48E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81