#2E438A#2E438A
#2E438A is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.7% C 0.121 H 268.2°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2E438A |
|---|---|
| RGB | rgb(46, 67, 138) |
| HSL | hsl(226, 50%, 36%) |
| HSV | hsv(226, 67%, 54%) |
| CMYK | cmyk(66.7%, 51.4%, 0%, 45.9%) |
| CIE-LAB | lab(30.47, 16.23, -42.14) |
| CIE-LCH | lch(30.47, 45.16, 291.06°) |
| OKLab | oklab(40.65% -0.0037 -0.1208) |
| OKLCH | oklch(40.65% 0.121 268.2) |
| XYZ | xyz(7.7197, 6.4294, 24.8740) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.42
Darkish Blue
#014182
ΔE00 4.97
Blueberry
#464196
ΔE00 5.33
Cobalt
#0047AB
ΔE00 5.42
Twilight Blue
#0A437A
ΔE00 5.76
Darkslateblue
#483D8B
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E438A #8A752E
analogous
#2E718A #2E438A #472E8A
triadic
#2E438A #8A2E43 #438A2E
tetradic
#2E438A #8A2E71 #8A752E #2E8A47
square
#2E438A #8A2E71 #8A752E #2E8A47
split-complementary
#2E438A #8A472E #718A2E
monochromatic
#0F162E #1F2D5C #2E438A #3D59B8 #667ECC
Accessibility & contrast
On white
9.19
#2E438A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2E438A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E438A
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E438A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E438A | 1.00 | 9.19 | 2.29 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B4C8D
Deuteranopia (green-blind)
#014489
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2e438a; /* rgb */ color: rgb(46, 67, 138); /* oklch */ color: oklch(40.7% 0.121 268.2);
Tailwind
colors: {
custom: {
50: '#7176ad',
500: '#2e438a',
950: '#000000',
},
}SCSS
$custom: #2e438a; $custom-light: #7176ad; $custom-dark: #000000;
JSON
{
"hex": "#2e438a",
"rgb": {
"r": 46,
"g": 67,
"b": 138
},
"hsl": {
"h": 226.304,
"s": 50,
"l": 36.078
},
"oklch": {
"l": 0.40654,
"c": 0.12085,
"h": 268.2
},
"luminance": 0.0643
}Semantic roles & 50–950 ramp
primary
#2E438A
secondary
#B3A061
accent
#BA4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F