#2E438D#2E438D
#2E438D is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.9% C 0.125 H 268.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2E438D |
|---|---|
| RGB | rgb(46, 67, 141) |
| HSL | hsl(227, 51%, 37%) |
| HSV | hsv(227, 67%, 55%) |
| CMYK | cmyk(67.4%, 52.5%, 0%, 44.7%) |
| CIE-LAB | lab(30.68, 17.36, -43.65) |
| CIE-LCH | lch(30.68, 46.97, 291.69°) |
| OKLab | oklab(40.88% -0.0034 -0.1252) |
| OKLCH | oklch(40.88% 0.125 268.5) |
| XYZ | xyz(7.9399, 6.5175, 26.0337) |
| Luminance | 0.0652 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.45
Blueberry
#464196
ΔE00 5.07
Cobalt
#0047AB
ΔE00 5.09
Darkish Blue
#014182
ΔE00 5.15
Twilight Blue
#0A437A
ΔE00 5.99
Sapphire (survey)
#2138AB
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E438D #8D782E
analogous
#2E738D #2E438D #492E8D
triadic
#2E438D #8D2E43 #438D2E
tetradic
#2E438D #8D2E73 #8D782E #2E8D49
square
#2E438D #8D2E73 #8D782E #2E8D49
split-complementary
#2E438D #8D492E #738D2E
monochromatic
#101731 #1F2D5F #2E438D #3D59BB #687ECE
Accessibility & contrast
On white
9.12
#2E438D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2E438D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E438D
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E438D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E438D | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#174D90
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2e438d; /* rgb */ color: rgb(46, 67, 141); /* oklch */ color: oklch(40.9% 0.125 268.5);
Tailwind
colors: {
custom: {
50: '#7276af',
500: '#2e438d',
950: '#000000',
},
}SCSS
$custom: #2e438d; $custom-light: #7276af; $custom-dark: #000000;
JSON
{
"hex": "#2e438d",
"rgb": {
"r": 46,
"g": 67,
"b": 141
},
"hsl": {
"h": 226.737,
"s": 50.802,
"l": 36.667
},
"oklch": {
"l": 0.40882,
"c": 0.12528,
"h": 268.5
},
"luminance": 0.06518
}Semantic roles & 50–950 ramp
primary
#2E438D
secondary
#B5A262
accent
#BB4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F