#2C307A#2C307A
#2C307A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.124 H 275.7°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2C307A |
|---|---|
| RGB | rgb(44, 48, 122) |
| HSL | hsl(237, 47%, 33%) |
| HSV | hsv(237, 64%, 48%) |
| CMYK | cmyk(63.9%, 60.7%, 0%, 52.2%) |
| CIE-LAB | lab(23.85, 22.88, -42.85) |
| CIE-LCH | lch(23.85, 48.58, 298.10°) |
| OKLab | oklab(35.27% 0.0123 -0.1232) |
| OKLCH | oklch(35.27% 0.124 275.7) |
| XYZ | xyz(5.6074, 4.0541, 18.8956) |
| Luminance | 0.0406 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.70
Midnight Blue
#191970
ΔE00 6.50
Blueberry
#464196
ΔE00 6.67
Marine
#042E60
ΔE00 7.29
Sapphire (survey)
#2138AB
ΔE00 7.62
Royal
#0C1793
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C307A #7A762C
analogous
#2C577A #2C307A #4F2C7A
triadic
#2C307A #7A2C30 #307A2C
tetradic
#2C307A #7A2C57 #7A762C #2C7A4F
square
#2C307A #7A2C57 #7A762C #2C7A4F
split-complementary
#2C307A #7A4F2C #577A2C
monochromatic
#0C0D20 #1C1E4D #2C307A #3C42A7 #5C61C4
Accessibility & contrast
On white
11.60
#2C307A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2C307A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C307A
11.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C307A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C307A | 1.00 | 11.60 | 1.81 | 11.60 |
| #FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#003579
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2c307a; /* rgb */ color: rgb(44, 48, 122); /* oklch */ color: oklch(35.3% 0.124 275.7);
Tailwind
colors: {
custom: {
50: '#6e68a1',
500: '#2c307a',
950: '#000000',
},
}SCSS
$custom: #2c307a; $custom-light: #6e68a1; $custom-dark: #000000;
JSON
{
"hex": "#2c307a",
"rgb": {
"r": 44,
"g": 48,
"b": 122
},
"hsl": {
"h": 236.923,
"s": 46.988,
"l": 32.549
},
"oklch": {
"l": 0.35266,
"c": 0.12379,
"h": 275.7
},
"luminance": 0.04055
}Semantic roles & 50–950 ramp
primary
#2C307A
secondary
#AAA657
accent
#D051D7
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F