#2C339A#2C339A
#2C339A is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.165 H 272.8°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2C339A |
|---|---|
| RGB | rgb(44, 51, 154) |
| HSL | hsl(236, 56%, 39%) |
| HSV | hsv(236, 71%, 60%) |
| CMYK | cmyk(71.4%, 66.9%, 0%, 39.6%) |
| CIE-LAB | lab(27.40, 32.56, -56.97) |
| CIE-LCH | lch(27.40, 65.62, 299.75°) |
| OKLab | oklab(38.74% 0.0081 -0.1646) |
| OKLCH | oklch(38.74% 0.165 272.8) |
| XYZ | xyz(8.0533, 5.2354, 31.1517) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.87
Blueberry
#464196
ΔE00 5.17
Darkslateblue
#483D8B
ΔE00 5.80
Ocean Blue
#4F42B5
ΔE00 6.93
Royal
#0C1793
ΔE00 6.99
Indigo Blue
#3A18B1
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C339A #9A932C
analogous
#2C6A9A #2C339A #5C2C9A
triadic
#2C339A #9A2C33 #339A2C
tetradic
#2C339A #9A2C6A #9A932C #2C9A5C
square
#2C339A #9A2C6A #9A932C #2C9A5C
split-complementary
#2C339A #9A5C2C #6A9A2C
monochromatic
#11133B #1E236A #2C339A #3C45C7 #6C72D5
Accessibility & contrast
On white
10.26
#2C339A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2C339A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C339A
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C339A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C339A | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#003C98
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2c339a; /* rgb */ color: rgb(44, 51, 154); /* oklch */ color: oklch(38.7% 0.165 272.8);
Tailwind
colors: {
custom: {
50: '#756bb9',
500: '#2c339a',
950: '#000000',
},
}SCSS
$custom: #2c339a; $custom-light: #756bb9; $custom-dark: #000000;
JSON
{
"hex": "#2c339a",
"rgb": {
"r": 44,
"g": 51,
"b": 154
},
"hsl": {
"h": 236.182,
"s": 55.556,
"l": 38.824
},
"oklch": {
"l": 0.38736,
"c": 0.16478,
"h": 272.8
},
"luminance": 0.05236
}Semantic roles & 50–950 ramp
primary
#2C339A
secondary
#BCB666
accent
#D549DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81