#2D336F#2D336F
#2D336F is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.1% C 0.103 H 275.5°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2D336F |
|---|---|
| RGB | rgb(45, 51, 111) |
| HSL | hsl(235, 42%, 31%) |
| HSV | hsv(235, 59%, 44%) |
| CMYK | cmyk(59.5%, 54.1%, 0%, 56.5%) |
| CIE-LAB | lab(23.91, 16.98, -35.73) |
| CIE-LCH | lch(23.91, 39.56, 295.42°) |
| OKLab | oklab(35.06% 0.0098 -0.1022) |
| OKLCH | oklch(35.06% 0.103 275.5) |
| XYZ | xyz(5.1343, 4.0729, 15.5514) |
| Luminance | 0.0407 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 6.23
Darkslateblue
#483D8B
ΔE00 6.49
Navy Blue
#1B2A4A
ΔE00 7.48
Blueberry
#464196
ΔE00 7.65
Marine Blue
#01386A
ΔE00 7.68
Midnight Blue
#191970
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D336F #6F692D
analogous
#2D546F #2D336F #482D6F
triadic
#2D336F #6F2D33 #336F2D
tetradic
#2D336F #6F2D54 #6F692D #2D6F48
square
#2D336F #6F2D54 #6F692D #2D6F48
split-complementary
#2D336F #6F482D #546F2D
monochromatic
#0A0B18 #1B1F43 #2D336F #3F479B #5A63BC
Accessibility & contrast
On white
11.57
#2D336F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2D336F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D336F
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D336F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D336F | 1.00 | 11.57 | 1.81 | 11.57 |
| #FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#123C71
Deuteranopia (green-blind)
#06366E
Tritanopia (blue-blind)
#07414C
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2d336f; /* rgb */ color: rgb(45, 51, 111); /* oklch */ color: oklch(35.1% 0.103 275.5);
Tailwind
colors: {
custom: {
50: '#6c6a99',
500: '#2d336f',
950: '#000000',
},
}SCSS
$custom: #2d336f; $custom-light: #6c6a99; $custom-dark: #000000;
JSON
{
"hex": "#2d336f",
"rgb": {
"r": 45,
"g": 51,
"b": 111
},
"hsl": {
"h": 234.545,
"s": 42.308,
"l": 30.588
},
"oklch": {
"l": 0.35064,
"c": 0.10265,
"h": 275.5
},
"luminance": 0.04073
}Semantic roles & 50–950 ramp
primary
#2D336F
secondary
#A19A57
accent
#C756D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E