#2D299F#2D299F
#2D299F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.182 H 274.7°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2D299F |
|---|---|
| RGB | rgb(45, 41, 159) |
| HSL | hsl(242, 59%, 39%) |
| HSV | hsv(242, 74%, 62%) |
| CMYK | cmyk(71.7%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(25.70, 40.56, -62.80) |
| CIE-LCH | lch(25.70, 74.76, 302.86°) |
| OKLab | oklab(37.68% 0.0149 -0.1816) |
| OKLCH | oklch(37.68% 0.182 274.7) |
| XYZ | xyz(8.1311, 4.6462, 33.2625) |
| Luminance | 0.0465 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.40
Sapphire (survey)
#2138AB
ΔE00 4.67
Royal
#0C1793
ΔE00 4.74
Cobalt Blue
#030AA7
ΔE00 5.75
Royal Blue (survey)
#0504AA
ΔE00 6.22
Ultramarine
#2000B1
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D299F #9B9F29
analogous
#29609F #2D299F #68299F
triadic
#2D299F #9F2D29 #299F2D
tetradic
#2D299F #9F2960 #9B9F29 #299F68
square
#2D299F #9F2960 #9B9F29 #299F68
split-complementary
#2D299F #9F6829 #609F29
monochromatic
#11103E #1F1C6E #2D299F #3E39CC #6E6AD9
Accessibility & contrast
On white
10.88
#2D299F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2D299F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D299F
10.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D299F | 1.00 | 10.88 | 1.93 | 10.88 |
| #FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2d299f; /* rgb */ color: rgb(45, 41, 159); /* oklch */ color: oklch(37.7% 0.182 274.7);
Tailwind
colors: {
custom: {
50: '#7864bd',
500: '#2d299f',
950: '#000000',
},
}SCSS
$custom: #2d299f; $custom-light: #7864bd; $custom-dark: #000000;
JSON
{
"hex": "#2d299f",
"rgb": {
"r": 45,
"g": 41,
"b": 159
},
"hsl": {
"h": 242.034,
"s": 59,
"l": 39.216
},
"oklch": {
"l": 0.37682,
"c": 0.18219,
"h": 274.7
},
"luminance": 0.04647
}Semantic roles & 50–950 ramp
primary
#2D299F
secondary
#BCBF65
accent
#E246DD
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81