#2D339C#2D339C
#2D339C is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.0% C 0.167 H 273.1°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2D339C |
|---|---|
| RGB | rgb(45, 51, 156) |
| HSL | hsl(237, 55%, 39%) |
| HSV | hsv(237, 71%, 61%) |
| CMYK | cmyk(71.2%, 67.3%, 0%, 38.8%) |
| CIE-LAB | lab(27.64, 33.40, -57.78) |
| CIE-LCH | lch(27.64, 66.74, 300.03°) |
| OKLab | oklab(38.99% 0.0091 -0.1669) |
| OKLCH | oklch(38.99% 0.167 273.1) |
| XYZ | xyz(8.2648, 5.3250, 32.0383) |
| Luminance | 0.0533 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.71
Blueberry
#464196
ΔE00 5.17
Darkslateblue
#483D8B
ΔE00 5.86
Ocean Blue
#4F42B5
ΔE00 6.68
Indigo Blue
#3A18B1
ΔE00 6.95
Royal
#0C1793
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D339C #9C962D
analogous
#2D6B9C #2D339C #5F2D9C
triadic
#2D339C #9C2D33 #339C2D
tetradic
#2D339C #9C2D6B #9C962D #2D9C5F
square
#2D339C #9C2D6B #9C962D #2D9C5F
split-complementary
#2D339C #9C5F2D #6B9C2D
monochromatic
#12143D #1F236D #2D339C #3F46C8 #6E74D5
Accessibility & contrast
On white
10.17
#2D339C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2D339C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D339C
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D339C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D339C | 1.00 | 10.17 | 2.07 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003C9A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2d339c; /* rgb */ color: rgb(45, 51, 156); /* oklch */ color: oklch(39.0% 0.167 273.1);
Tailwind
colors: {
custom: {
50: '#766bba',
500: '#2d339c',
950: '#000000',
},
}SCSS
$custom: #2d339c; $custom-light: #766bba; $custom-dark: #000000;
JSON
{
"hex": "#2d339c",
"rgb": {
"r": 45,
"g": 51,
"b": 156
},
"hsl": {
"h": 236.757,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.38988,
"c": 0.16719,
"h": 273.1
},
"luminance": 0.05326
}Semantic roles & 50–950 ramp
primary
#2D339C
secondary
#BCB868
accent
#D649DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81