#2C307D#2C307D
#2C307D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.128 H 275.5°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).
Color values
| HEX | #2C307D |
|---|---|
| RGB | rgb(44, 48, 125) |
| HSL | hsl(237, 48%, 33%) |
| HSV | hsv(237, 65%, 49%) |
| CMYK | cmyk(64.8%, 61.6%, 0%, 51%) |
| CIE-LAB | lab(24.10, 23.98, -44.35) |
| CIE-LCH | lch(24.10, 50.42, 298.40°) |
| OKLab | oklab(35.53% 0.0123 -0.1276) |
| OKLCH | oklch(35.53% 0.128 275.5) |
| XYZ | xyz(5.7961, 4.1296, 19.8897) |
| Luminance | 0.0413 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.56
Blueberry
#464196
ΔE00 6.42
Midnight Blue
#191970
ΔE00 6.46
Sapphire (survey)
#2138AB
ΔE00 7.13
Marine
#042E60
ΔE00 7.57
Royal
#0C1793
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C307D #7D792C
analogous
#2C587D #2C307D #502C7D
triadic
#2C307D #7D2C30 #307D2C
tetradic
#2C307D #7D2C58 #7D792C #2C7D50
square
#2C307D #7D2C58 #7D792C #2C7D50
split-complementary
#2C307D #7D502C #587D2C
monochromatic
#0C0D22 #1C1F50 #2C307D #3C41AA #5D62C6
Accessibility & contrast
On white
11.50
#2C307D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#2C307D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C307D
11.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C307D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C307D | 1.00 | 11.50 | 1.83 | 11.50 |
| #FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D80
Deuteranopia (green-blind)
#00367B
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2c307d; /* rgb */ color: rgb(44, 48, 125); /* oklch */ color: oklch(35.5% 0.128 275.5);
Tailwind
colors: {
custom: {
50: '#6f68a3',
500: '#2c307d',
950: '#000000',
},
}SCSS
$custom: #2c307d; $custom-light: #6f68a3; $custom-dark: #000000;
JSON
{
"hex": "#2c307d",
"rgb": {
"r": 44,
"g": 48,
"b": 125
},
"hsl": {
"h": 237.037,
"s": 47.929,
"l": 33.137
},
"oklch": {
"l": 0.35526,
"c": 0.12818,
"h": 275.5
},
"luminance": 0.0413
}Semantic roles & 50–950 ramp
primary
#2C307D
secondary
#ACA859
accent
#D150D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F