#2D367E#2D367E
#2D367E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.9% C 0.121 H 273.5°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2D367E |
|---|---|
| RGB | rgb(45, 54, 126) |
| HSL | hsl(233, 47%, 34%) |
| HSV | hsv(233, 64%, 49%) |
| CMYK | cmyk(64.3%, 57.1%, 0%, 50.6%) |
| CIE-LAB | lab(25.87, 20.44, -42.10) |
| CIE-LCH | lch(25.87, 46.80, 295.89°) |
| OKLab | oklab(36.89% 0.0075 -0.1209) |
| OKLCH | oklch(36.89% 0.121 273.5) |
| XYZ | xyz(6.1660, 4.7021, 20.3173) |
| Luminance | 0.0470 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.14
Blueberry
#464196
ΔE00 5.64
Sapphire (survey)
#2138AB
ΔE00 6.91
Marine
#042E60
ΔE00 7.07
Cobalt (survey)
#1E488F
ΔE00 7.51
Darkish Blue
#014182
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D367E #7E752D
analogous
#2D5E7E #2D367E #4C2D7E
triadic
#2D367E #7E2D36 #367E2D
tetradic
#2D367E #7E2D5E #7E752D #2D7E4C
square
#2D367E #7E2D5E #7E752D #2D7E4C
split-complementary
#2D367E #7E4C2D #5E7E2D
monochromatic
#0D0F24 #1D2351 #2D367E #3D49AB #5F6BC6
Accessibility & contrast
On white
10.82
#2D367E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2D367E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D367E
10.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D367E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D367E | 1.00 | 10.82 | 1.94 | 10.82 |
| #FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004180
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2d367e; /* rgb */ color: rgb(45, 54, 126); /* oklch */ color: oklch(36.9% 0.121 273.5);
Tailwind
colors: {
custom: {
50: '#6f6ca4',
500: '#2d367e',
950: '#000000',
},
}SCSS
$custom: #2d367e; $custom-light: #6f6ca4; $custom-dark: #000000;
JSON
{
"hex": "#2d367e",
"rgb": {
"r": 45,
"g": 54,
"b": 126
},
"hsl": {
"h": 233.333,
"s": 47.368,
"l": 33.529
},
"oklch": {
"l": 0.36888,
"c": 0.12111,
"h": 273.5
},
"luminance": 0.04703
}Semantic roles & 50–950 ramp
primary
#2D367E
secondary
#ACA35A
accent
#C851D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08070F
muted
#7B7A7F