#2D249C#2D249C
#2D249C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.7% C 0.183 H 275.7°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2D249C |
|---|---|
| RGB | rgb(45, 36, 156) |
| HSL | hsl(245, 63%, 38%) |
| HSV | hsv(245, 77%, 61%) |
| CMYK | cmyk(71.2%, 76.9%, 0%, 38.8%) |
| CIE-LAB | lab(24.38, 42.39, -63.14) |
| CIE-LCH | lch(24.38, 76.05, 303.88°) |
| OKLab | oklab(36.65% 0.0182 -0.1825) |
| OKLCH | oklch(36.65% 0.183 275.7) |
| XYZ | xyz(7.7118, 4.2192, 31.8540) |
| Luminance | 0.0422 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.74
Indigo Blue
#3A18B1
ΔE00 3.90
Cobalt Blue
#030AA7
ΔE00 4.79
Royal Blue (survey)
#0504AA
ΔE00 5.27
Ultramarine
#2000B1
ΔE00 5.36
Sapphire (survey)
#2138AB
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D249C #939C24
analogous
#24579C #2D249C #69249C
triadic
#2D249C #9C2D24 #249C2D
tetradic
#2D249C #9C2457 #939C24 #249C69
square
#2D249C #9C2457 #939C24 #249C69
split-complementary
#2D249C #9C6924 #579C24
monochromatic
#100D39 #1F196A #2D249C #3B2FCE #6960DA
Accessibility & contrast
On white
11.39
#2D249C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2D249C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D249C
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D249C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D249C | 1.00 | 11.39 | 1.84 | 11.39 |
| #FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#00475F
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2d249c; /* rgb */ color: rgb(45, 36, 156); /* oklch */ color: oklch(36.7% 0.183 275.7);
Tailwind
colors: {
custom: {
50: '#7761ba',
500: '#2d249c',
950: '#000000',
},
}SCSS
$custom: #2d249c; $custom-light: #7761ba; $custom-dark: #000000;
JSON
{
"hex": "#2d249c",
"rgb": {
"r": 45,
"g": 36,
"b": 156
},
"hsl": {
"h": 244.5,
"s": 62.5,
"l": 37.647
},
"oklch": {
"l": 0.36654,
"c": 0.18346,
"h": 275.7
},
"luminance": 0.0422
}Semantic roles & 50–950 ramp
primary
#2D249C
secondary
#B8BF5C
accent
#E642D9
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981