#2E438B#2E438B
#2E438B is a dark, vivid blue. Relative luminance 0.065; OKLCH L 40.7% C 0.122 H 268.3°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2E438B |
|---|---|
| RGB | rgb(46, 67, 139) |
| HSL | hsl(226, 50%, 36%) |
| HSV | hsv(226, 67%, 55%) |
| CMYK | cmyk(66.9%, 51.8%, 0%, 45.5%) |
| CIE-LAB | lab(30.54, 16.60, -42.64) |
| CIE-LCH | lch(30.54, 45.76, 291.27°) |
| OKLab | oklab(40.73% -0.0036 -0.1223) |
| OKLCH | oklch(40.73% 0.122 268.3) |
| XYZ | xyz(7.7925, 6.4585, 25.2571) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.42
Darkish Blue
#014182
ΔE00 5.03
Blueberry
#464196
ΔE00 5.24
Cobalt
#0047AB
ΔE00 5.31
Twilight Blue
#0A437A
ΔE00 5.83
Darkslateblue
#483D8B
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E438B #8B762E
analogous
#2E728B #2E438B #482E8B
triadic
#2E438B #8B2E43 #438B2E
tetradic
#2E438B #8B2E72 #8B762E #2E8B48
square
#2E438B #8B2E72 #8B762E #2E8B48
split-complementary
#2E438B #8B482E #728B2E
monochromatic
#10172F #1F2D5D #2E438B #3D59B9 #677ECD
Accessibility & contrast
On white
9.16
#2E438B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2E438B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E438B
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E438B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E438B | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A4C8E
Deuteranopia (green-blind)
#00448A
Tritanopia (blue-blind)
#005460
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2e438b; /* rgb */ color: rgb(46, 67, 139); /* oklch */ color: oklch(40.7% 0.122 268.3);
Tailwind
colors: {
custom: {
50: '#7176ad',
500: '#2e438b',
950: '#000000',
},
}SCSS
$custom: #2e438b; $custom-light: #7176ad; $custom-dark: #000000;
JSON
{
"hex": "#2e438b",
"rgb": {
"r": 46,
"g": 67,
"b": 139
},
"hsl": {
"h": 226.452,
"s": 50.27,
"l": 36.275
},
"oklch": {
"l": 0.4073,
"c": 0.12232,
"h": 268.3
},
"luminance": 0.06459
}Semantic roles & 50–950 ramp
primary
#2E438B
secondary
#B3A161
accent
#BA4EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F