#2E4182#2E4182
#2E4182 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.6% C 0.112 H 268.6°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4182 |
|---|---|
| RGB | rgb(46, 65, 130) |
| HSL | hsl(226, 48%, 35%) |
| HSV | hsv(226, 65%, 51%) |
| CMYK | cmyk(64.6%, 50%, 0%, 49%) |
| CIE-LAB | lab(29.34, 14.59, -39.00) |
| CIE-LCH | lch(29.34, 41.64, 290.51°) |
| OKLab | oklab(39.62% -0.0026 -0.1116) |
| OKLCH | oklch(39.62% 0.112 268.6) |
| XYZ | xyz(7.0449, 5.9725, 21.8963) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.18
Darkish Blue
#014182
ΔE00 5.02
Twilight Blue
#0A437A
ΔE00 5.69
Blueberry
#464196
ΔE00 5.78
Darkslateblue
#483D8B
ΔE00 6.30
Marine Blue
#01386A
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4182 #826F2E
analogous
#2E6B82 #2E4182 #452E82
triadic
#2E4182 #822E41 #41822E
tetradic
#2E4182 #822E6B #826F2E #2E8245
square
#2E4182 #822E6B #826F2E #2E8245
split-complementary
#2E4182 #82452E #6B822E
monochromatic
#0E1428 #1E2A55 #2E4182 #3E58AF #637AC8
Accessibility & contrast
On white
9.57
#2E4182 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2E4182 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4182
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4182 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4182 | 1.00 | 9.57 | 2.19 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4984
Deuteranopia (green-blind)
#0F4281
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2e4182; /* rgb */ color: rgb(46, 65, 130); /* oklch */ color: oklch(39.6% 0.112 268.6);
Tailwind
colors: {
custom: {
50: '#7075a7',
500: '#2e4182',
950: '#000000',
},
}SCSS
$custom: #2e4182; $custom-light: #7075a7; $custom-dark: #000000;
JSON
{
"hex": "#2e4182",
"rgb": {
"r": 46,
"g": 65,
"b": 130
},
"hsl": {
"h": 226.429,
"s": 47.727,
"l": 34.51
},
"oklch": {
"l": 0.3962,
"c": 0.11161,
"h": 268.6
},
"luminance": 0.05973
}Semantic roles & 50–950 ramp
primary
#2E4182
secondary
#AE9C5D
accent
#B950D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F