#2C309E#2C309E
#2C309E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.174 H 273.2°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2C309E |
|---|---|
| RGB | rgb(44, 48, 158) |
| HSL | hsl(238, 56%, 40%) |
| HSV | hsv(238, 72%, 62%) |
| CMYK | cmyk(72.2%, 69.6%, 0%, 38%) |
| CIE-LAB | lab(27.07, 35.89, -59.95) |
| CIE-LCH | lch(27.07, 69.87, 300.91°) |
| OKLab | oklab(38.61% 0.0097 -0.1733) |
| OKLCH | oklch(38.61% 0.174 273.2) |
| XYZ | xyz(8.2651, 5.1172, 32.8933) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.07
Blueberry
#464196
ΔE00 5.88
Indigo Blue
#3A18B1
ΔE00 6.07
Royal
#0C1793
ΔE00 6.23
Darkslateblue
#483D8B
ΔE00 6.44
Ocean Blue
#4F42B5
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C309E #9E9A2C
analogous
#2C699E #2C309E #612C9E
triadic
#2C309E #9E2C30 #309E2C
tetradic
#2C309E #9E2C69 #9E9A2C #2C9E61
square
#2C309E #9E2C69 #9E9A2C #2C9E61
split-complementary
#2C309E #9E612C #699E2C
monochromatic
#11133E #1F216E #2C309E #3E43C9 #6E72D7
Accessibility & contrast
On white
10.38
#2C309E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2C309E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C309E
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C309E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C309E | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#003B9C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2c309e; /* rgb */ color: rgb(44, 48, 158); /* oklch */ color: oklch(38.6% 0.174 273.2);
Tailwind
colors: {
custom: {
50: '#7669bc',
500: '#2c309e',
950: '#000000',
},
}SCSS
$custom: #2c309e; $custom-light: #7669bc; $custom-dark: #000000;
JSON
{
"hex": "#2c309e",
"rgb": {
"r": 44,
"g": 48,
"b": 158
},
"hsl": {
"h": 237.895,
"s": 56.436,
"l": 39.608
},
"oklch": {
"l": 0.38612,
"c": 0.17357,
"h": 273.2
},
"luminance": 0.05118
}Semantic roles & 50–950 ramp
primary
#2C309E
secondary
#BEBB68
accent
#DA48E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81