#2C339C#2C339C
#2C339C is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.167 H 272.7°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2C339C |
|---|---|
| RGB | rgb(44, 51, 156) |
| HSL | hsl(236, 56%, 39%) |
| HSV | hsv(236, 72%, 61%) |
| CMYK | cmyk(71.8%, 67.3%, 0%, 38.8%) |
| CIE-LAB | lab(27.58, 33.28, -57.88) |
| CIE-LCH | lch(27.58, 66.77, 299.90°) |
| OKLab | oklab(38.93% 0.0079 -0.1673) |
| OKLCH | oklch(38.93% 0.167 272.7) |
| XYZ | xyz(8.2213, 5.3026, 32.0363) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.66
Blueberry
#464196
ΔE00 5.23
Darkslateblue
#483D8B
ΔE00 5.94
Ocean Blue
#4F42B5
ΔE00 6.76
Royal
#0C1793
ΔE00 6.99
Indigo Blue
#3A18B1
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C339C #9C952C
analogous
#2C6B9C #2C339C #5D2C9C
triadic
#2C339C #9C2C33 #339C2C
tetradic
#2C339C #9C2C6B #9C952C #2C9C5D
square
#2C339C #9C2C6B #9C952C #2C9C5D
split-complementary
#2C339C #9C5D2C #6B9C2C
monochromatic
#11143D #1F236C #2C339C #3D46C8 #6D73D6
Accessibility & contrast
On white
10.19
#2C339C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2C339C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C339C
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C339C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C339C | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 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: #2c339c; /* rgb */ color: rgb(44, 51, 156); /* oklch */ color: oklch(38.9% 0.167 272.7);
Tailwind
colors: {
custom: {
50: '#766bba',
500: '#2c339c',
950: '#000000',
},
}SCSS
$custom: #2c339c; $custom-light: #766bba; $custom-dark: #000000;
JSON
{
"hex": "#2c339c",
"rgb": {
"r": 44,
"g": 51,
"b": 156
},
"hsl": {
"h": 236.25,
"s": 56,
"l": 39.216
},
"oklch": {
"l": 0.38927,
"c": 0.16746,
"h": 272.7
},
"luminance": 0.05303
}Semantic roles & 50–950 ramp
primary
#2C339C
secondary
#BDB767
accent
#D649DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81