#2D319F#2D319F
#2D319F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.9% C 0.173 H 273.3°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2D319F |
|---|---|
| RGB | rgb(45, 49, 159) |
| HSL | hsl(238, 56%, 40%) |
| HSV | hsv(238, 72%, 62%) |
| CMYK | cmyk(71.7%, 69.2%, 0%, 37.6%) |
| CIE-LAB | lab(27.45, 35.73, -59.91) |
| CIE-LCH | lch(27.45, 69.76, 300.81°) |
| OKLab | oklab(38.94% 0.0101 -0.1732) |
| OKLCH | oklch(38.94% 0.173 273.3) |
| XYZ | xyz(8.4364, 5.2569, 33.3642) |
| Luminance | 0.0526 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.85
Blueberry
#464196
ΔE00 5.67
Indigo Blue
#3A18B1
ΔE00 6.18
Darkslateblue
#483D8B
ΔE00 6.32
Royal
#0C1793
ΔE00 6.52
Ocean Blue
#4F42B5
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D319F #9F9B2D
analogous
#2D6A9F #2D319F #622D9F
triadic
#2D319F #9F2D31 #319F2D
tetradic
#2D319F #9F2D6A #9F9B2D #2D9F62
square
#2D319F #9F2D6A #9F9B2D #2D9F62
split-complementary
#2D319F #9F622D #6A9F2D
monochromatic
#121440 #20226F #2D319F #4045C9 #7073D6
Accessibility & contrast
On white
10.24
#2D319F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2D319F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D319F
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D319F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D319F | 1.00 | 10.24 | 2.05 | 10.24 |
| #FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2d319f; /* rgb */ color: rgb(45, 49, 159); /* oklch */ color: oklch(38.9% 0.173 273.3);
Tailwind
colors: {
custom: {
50: '#776abc',
500: '#2d319f',
950: '#000000',
},
}SCSS
$custom: #2d319f; $custom-light: #776abc; $custom-dark: #000000;
JSON
{
"hex": "#2d319f",
"rgb": {
"r": 45,
"g": 49,
"b": 159
},
"hsl": {
"h": 237.895,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.38939,
"c": 0.17347,
"h": 273.3
},
"luminance": 0.05258
}Semantic roles & 50–950 ramp
primary
#2D319F
secondary
#BEBB6A
accent
#DA49DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81