#2E4273#2E4273
#2E4273 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.8% C 0.087 H 265.8°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #2E4273 |
|---|---|
| RGB | rgb(46, 66, 115) |
| HSL | hsl(223, 43%, 32%) |
| HSV | hsv(223, 60%, 45%) |
| CMYK | cmyk(60%, 42.6%, 0%, 54.9%) |
| CIE-LAB | lab(28.68, 8.34, -30.65) |
| CIE-LCH | lch(28.68, 31.76, 285.23°) |
| OKLab | oklab(38.8% -0.0065 -0.087) |
| OKLCH | oklch(38.8% 0.087 265.8) |
| XYZ | xyz(6.1684, 5.7146, 16.9943) |
| Luminance | 0.0571 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight Blue
#0A437A
ΔE00 5.17
Darkish Blue
#014182
ΔE00 5.18
Cobalt (survey)
#1E488F
ΔE00 5.18
Marine Blue
#01386A
ΔE00 5.64
Prussian Blue
#004577
ΔE00 6.54
Marine
#042E60
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E4273 #735F2E
analogous
#2E6573 #2E4273 #3D2E73
triadic
#2E4273 #732E42 #42732E
tetradic
#2E4273 #732E65 #735F2E #2E733D
square
#2E4273 #732E65 #735F2E #2E733D
split-complementary
#2E4273 #733D2E #65732E
monochromatic
#0B101C #1D2947 #2E4273 #3F5B9F #5D79BE
Accessibility & contrast
On white
9.80
#2E4273 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2E4273 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E4273
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E4273 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E4273 | 1.00 | 9.80 | 2.14 | 9.80 |
| #FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D4775
Deuteranopia (green-blind)
#244172
Tritanopia (blue-blind)
#004D55
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2e4273; /* rgb */ color: rgb(46, 66, 115); /* oklch */ color: oklch(38.8% 0.087 265.8);
Tailwind
colors: {
custom: {
50: '#6d769b',
500: '#2e4273',
950: '#000000',
},
}SCSS
$custom: #2e4273; $custom-light: #6d769b; $custom-dark: #000000;
JSON
{
"hex": "#2e4273",
"rgb": {
"r": 46,
"g": 66,
"b": 115
},
"hsl": {
"h": 222.609,
"s": 42.857,
"l": 31.569
},
"oklch": {
"l": 0.38802,
"c": 0.08728,
"h": 265.8
},
"luminance": 0.05715
}Semantic roles & 50–950 ramp
primary
#2E4273
secondary
#A48E58
accent
#AE55D3
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E