#2C309A#2C309A
#2C309A is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.168 H 273.5°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2C309A |
|---|---|
| RGB | rgb(44, 48, 154) |
| HSL | hsl(238, 56%, 39%) |
| HSV | hsv(238, 71%, 60%) |
| CMYK | cmyk(71.4%, 68.8%, 0%, 39.6%) |
| CIE-LAB | lab(26.68, 34.47, -58.14) |
| CIE-LCH | lch(26.68, 67.59, 300.67°) |
| OKLab | oklab(38.22% 0.0102 -0.168) |
| OKLCH | oklch(38.22% 0.168 273.5) |
| XYZ | xyz(7.9264, 4.9817, 31.1094) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.38
Blueberry
#464196
ΔE00 5.75
Darkslateblue
#483D8B
ΔE00 6.17
Royal
#0C1793
ΔE00 6.18
Indigo Blue
#3A18B1
ΔE00 6.44
Ocean Blue
#4F42B5
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C309A #9A962C
analogous
#2C679A #2C309A #5F2C9A
triadic
#2C309A #9A2C30 #309A2C
tetradic
#2C309A #9A2C67 #9A962C #2C9A5F
square
#2C309A #9A2C67 #9A962C #2C9A5F
split-complementary
#2C309A #9A5F2C #679A2C
monochromatic
#11123B #1E216A #2C309A #3C41C7 #6C6FD5
Accessibility & contrast
On white
10.52
#2C309A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2C309A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C309A
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C309A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C309A | 1.00 | 10.52 | 2.00 | 10.52 |
| #FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#003A98
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2c309a; /* rgb */ color: rgb(44, 48, 154); /* oklch */ color: oklch(38.2% 0.168 273.5);
Tailwind
colors: {
custom: {
50: '#7569b9',
500: '#2c309a',
950: '#000000',
},
}SCSS
$custom: #2c309a; $custom-light: #7569b9; $custom-dark: #000000;
JSON
{
"hex": "#2c309a",
"rgb": {
"r": 44,
"g": 48,
"b": 154
},
"hsl": {
"h": 237.818,
"s": 55.556,
"l": 38.824
},
"oklch": {
"l": 0.38218,
"c": 0.16832,
"h": 273.5
},
"luminance": 0.04982
}Semantic roles & 50–950 ramp
primary
#2C309A
secondary
#BCB966
accent
#D949DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81