#2D309C#2D309C
#2D309C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.171 H 273.7°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2D309C |
|---|---|
| RGB | rgb(45, 48, 156) |
| HSL | hsl(238, 55%, 39%) |
| HSV | hsv(238, 71%, 61%) |
| CMYK | cmyk(71.2%, 69.2%, 0%, 38.8%) |
| CIE-LAB | lab(26.94, 35.30, -58.94) |
| CIE-LCH | lch(26.94, 68.70, 300.92°) |
| OKLab | oklab(38.48% 0.0111 -0.1703) |
| OKLCH | oklch(38.48% 0.171 273.7) |
| XYZ | xyz(8.1379, 5.0713, 31.9960) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.27
Blueberry
#464196
ΔE00 5.76
Indigo Blue
#3A18B1
ΔE00 6.19
Royal
#0C1793
ΔE00 6.21
Darkslateblue
#483D8B
ΔE00 6.23
Ocean Blue
#4F42B5
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D309C #9C992D
analogous
#2D689C #2D309C #612D9C
triadic
#2D309C #9C2D30 #309C2D
tetradic
#2D309C #9C2D68 #9C992D #2D9C61
square
#2D309C #9C2D68 #9C992D #2D9C61
split-complementary
#2D309C #9C612D #689C2D
monochromatic
#12133D #1F216D #2D309C #3F42C8 #6E71D5
Accessibility & contrast
On white
10.42
#2D309C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2D309C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D309C
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D309C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D309C | 1.00 | 10.42 | 2.01 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2d309c; /* rgb */ color: rgb(45, 48, 156); /* oklch */ color: oklch(38.5% 0.171 273.7);
Tailwind
colors: {
custom: {
50: '#7669ba',
500: '#2d309c',
950: '#000000',
},
}SCSS
$custom: #2d309c; $custom-light: #7669ba; $custom-dark: #000000;
JSON
{
"hex": "#2d309c",
"rgb": {
"r": 45,
"g": 48,
"b": 156
},
"hsl": {
"h": 238.378,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.38477,
"c": 0.17069,
"h": 273.7
},
"luminance": 0.05072
}Semantic roles & 50–950 ramp
primary
#2D309C
secondary
#BCBA68
accent
#DB49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81