#2E3E8F#2E3E8F
#2E3E8F is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.135 H 270.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3E8F |
|---|---|
| RGB | rgb(46, 62, 143) |
| HSL | hsl(230, 51%, 37%) |
| HSV | hsv(230, 68%, 56%) |
| CMYK | cmyk(67.8%, 56.6%, 0%, 43.9%) |
| CIE-LAB | lab(29.43, 21.50, -46.90) |
| CIE-LCH | lch(29.43, 51.59, 294.63°) |
| OKLab | oklab(39.99% 0.0016 -0.1349) |
| OKLCH | oklch(39.99% 0.135 270.7) |
| XYZ | xyz(7.8056, 6.0085, 26.7297) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.18
Sapphire (survey)
#2138AB
ΔE00 4.82
Cobalt (survey)
#1E488F
ΔE00 5.06
Darkslateblue
#483D8B
ΔE00 5.18
Cobalt
#0047AB
ΔE00 5.78
Darkish Blue
#014182
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3E8F #8F7F2E
analogous
#2E6F8F #2E3E8F #4F2E8F
triadic
#2E3E8F #8F2E3E #3E8F2E
tetradic
#2E3E8F #8F2E6F #8F7F2E #2E8F4F
square
#2E3E8F #8F2E6F #8F7F2E #2E8F4F
split-complementary
#2E3E8F #8F4F2E #6F8F2E
monochromatic
#101632 #1F2A61 #2E3E8F #3D52BD #697ACF
Accessibility & contrast
On white
9.54
#2E3E8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#2E3E8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3E8F
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3E8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3E8F | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#00418D
Tritanopia (blue-blind)
#005160
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2e3e8f; /* rgb */ color: rgb(46, 62, 143); /* oklch */ color: oklch(40.0% 0.135 270.7);
Tailwind
colors: {
custom: {
50: '#7373b0',
500: '#2e3e8f',
950: '#000000',
},
}SCSS
$custom: #2e3e8f; $custom-light: #7373b0; $custom-dark: #000000;
JSON
{
"hex": "#2e3e8f",
"rgb": {
"r": 46,
"g": 62,
"b": 143
},
"hsl": {
"h": 230.103,
"s": 51.323,
"l": 37.059
},
"oklch": {
"l": 0.39988,
"c": 0.13487,
"h": 270.7
},
"luminance": 0.06009
}Semantic roles & 50–950 ramp
primary
#2E3E8F
secondary
#B6A863
accent
#C34DDB
background
#F7F6FA
surface
#EDECF5
border
#C8C7CF
text
#090811
muted
#7B7B80