#2E4282#2E4282
#2E4282 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.8% C 0.110 H 268.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4282 |
|---|---|
| RGB | rgb(46, 66, 130) |
| HSL | hsl(226, 48%, 35%) |
| HSV | hsv(226, 65%, 51%) |
| CMYK | cmyk(64.6%, 49.2%, 0%, 49%) |
| CIE-LAB | lab(29.63, 13.90, -38.53) |
| CIE-LCH | lch(29.63, 40.96, 289.84°) |
| OKLab | oklab(39.84% -0.0037 -0.1102) |
| OKLCH | oklch(39.84% 0.11 268.1) |
| XYZ | xyz(7.1028, 6.0884, 21.9156) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.90
Darkish Blue
#014182
ΔE00 4.85
Twilight Blue
#0A437A
ΔE00 5.47
Blueberry
#464196
ΔE00 5.96
Marine Blue
#01386A
ΔE00 6.46
Cobalt
#0047AB
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4282 #826E2E
analogous
#2E6C82 #2E4282 #442E82
triadic
#2E4282 #822E42 #42822E
tetradic
#2E4282 #822E6C #826E2E #2E8244
square
#2E4282 #822E6C #826E2E #2E8244
split-complementary
#2E4282 #82442E #6C822E
monochromatic
#0E1428 #1E2B55 #2E4282 #3E59AF #637BC8
Accessibility & contrast
On white
9.47
#2E4282 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2E4282 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4282
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4282 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4282 | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224A84
Deuteranopia (green-blind)
#124281
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2e4282; /* rgb */ color: rgb(46, 66, 130); /* oklch */ color: oklch(39.8% 0.110 268.1);
Tailwind
colors: {
custom: {
50: '#7076a7',
500: '#2e4282',
950: '#000000',
},
}SCSS
$custom: #2e4282; $custom-light: #7076a7; $custom-dark: #000000;
JSON
{
"hex": "#2e4282",
"rgb": {
"r": 46,
"g": 66,
"b": 130
},
"hsl": {
"h": 225.714,
"s": 47.727,
"l": 34.51
},
"oklch": {
"l": 0.39842,
"c": 0.11025,
"h": 268.1
},
"luminance": 0.06089
}Semantic roles & 50–950 ramp
primary
#2E4282
secondary
#AE9B5D
accent
#B750D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F