#2C339D#2C339D
#2C339D is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.0% C 0.169 H 272.7°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2C339D |
|---|---|
| RGB | rgb(44, 51, 157) |
| HSL | hsl(236, 56%, 39%) |
| HSV | hsv(236, 72%, 62%) |
| CMYK | cmyk(72%, 67.5%, 0%, 38.4%) |
| CIE-LAB | lab(27.67, 33.64, -58.34) |
| CIE-LCH | lch(27.67, 67.34, 299.97°) |
| OKLab | oklab(39.02% 0.0079 -0.1686) |
| OKLCH | oklch(39.02% 0.169 272.7) |
| XYZ | xyz(8.3063, 5.3366, 32.4841) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.56
Blueberry
#464196
ΔE00 5.27
Darkslateblue
#483D8B
ΔE00 6.01
Ocean Blue
#4F42B5
ΔE00 6.67
Blue Blue
#2242C7
ΔE00 6.90
Indigo Blue
#3A18B1
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C339D #9D962C
analogous
#2C6C9D #2C339D #5E2C9D
triadic
#2C339D #9D2C33 #339D2C
tetradic
#2C339D #9D2C6C #9D962C #2C9D5E
square
#2C339D #9D2C6C #9D962C #2C9D5E
split-complementary
#2C339D #9D5E2C #6C9D2C
monochromatic
#11143D #1F236D #2C339D #3D46C9 #6D74D6
Accessibility & contrast
On white
10.16
#2C339D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2C339D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C339D
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C339D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C339D | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2c339d; /* rgb */ color: rgb(44, 51, 157); /* oklch */ color: oklch(39.0% 0.169 272.7);
Tailwind
colors: {
custom: {
50: '#766bbb',
500: '#2c339d',
950: '#000000',
},
}SCSS
$custom: #2c339d; $custom-light: #766bbb; $custom-dark: #000000;
JSON
{
"hex": "#2c339d",
"rgb": {
"r": 44,
"g": 51,
"b": 157
},
"hsl": {
"h": 236.283,
"s": 56.219,
"l": 39.412
},
"oklch": {
"l": 0.39023,
"c": 0.16878,
"h": 272.7
},
"luminance": 0.05337
}Semantic roles & 50–950 ramp
primary
#2C339D
secondary
#BDB868
accent
#D648E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81