#2D309F#2D309F
#2D309F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.8% C 0.175 H 273.5°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2D309F |
|---|---|
| RGB | rgb(45, 48, 159) |
| HSL | hsl(238, 56%, 40%) |
| HSV | hsv(238, 72%, 62%) |
| CMYK | cmyk(71.7%, 69.8%, 0%, 37.6%) |
| CIE-LAB | lab(27.23, 36.36, -60.29) |
| CIE-LCH | lch(27.23, 70.40, 301.09°) |
| OKLab | oklab(38.77% 0.0107 -0.1743) |
| OKLCH | oklch(38.77% 0.175 273.5) |
| XYZ | xyz(8.3951, 5.1742, 33.3505) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.06
Blueberry
#464196
ΔE00 5.87
Indigo Blue
#3A18B1
ΔE00 5.93
Royal
#0C1793
ΔE00 6.27
Darkslateblue
#483D8B
ΔE00 6.45
Ocean Blue
#4F42B5
ΔE00 6.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D309F #9F9C2D
analogous
#2D699F #2D309F #632D9F
triadic
#2D309F #9F2D30 #309F2D
tetradic
#2D309F #9F2D69 #9F9C2D #2D9F63
square
#2D309F #9F2D69 #9F9C2D #2D9F63
split-complementary
#2D309F #9F632D #699F2D
monochromatic
#121340 #20226F #2D309F #4044C9 #7073D6
Accessibility & contrast
On white
10.32
#2D309F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2D309F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D309F
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D309F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D309F | 1.00 | 10.32 | 2.04 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2d309f; /* rgb */ color: rgb(45, 48, 159); /* oklch */ color: oklch(38.8% 0.175 273.5);
Tailwind
colors: {
custom: {
50: '#7769bc',
500: '#2d309f',
950: '#000000',
},
}SCSS
$custom: #2d309f; $custom-light: #7769bc; $custom-dark: #000000;
JSON
{
"hex": "#2d309f",
"rgb": {
"r": 45,
"g": 48,
"b": 159
},
"hsl": {
"h": 238.421,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.38773,
"c": 0.17461,
"h": 273.5
},
"luminance": 0.05175
}Semantic roles & 50–950 ramp
primary
#2D309F
secondary
#BEBC6A
accent
#DB49DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81