#2D2E9F#2D2E9F
#2D2E9F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.177 H 273.9°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2D2E9F |
|---|---|
| RGB | rgb(45, 46, 159) |
| HSL | hsl(239, 56%, 40%) |
| HSV | hsv(239, 72%, 62%) |
| CMYK | cmyk(71.7%, 71.1%, 0%, 37.6%) |
| CIE-LAB | lab(26.78, 37.59, -61.03) |
| CIE-LCH | lch(26.78, 71.68, 301.63°) |
| OKLab | oklab(38.45% 0.012 -0.1764) |
| OKLCH | oklch(38.45% 0.177 273.9) |
| XYZ | xyz(8.3151, 5.0143, 33.3238) |
| Luminance | 0.0502 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.51
Indigo Blue
#3A18B1
ΔE00 5.46
Royal
#0C1793
ΔE00 5.80
Blueberry
#464196
ΔE00 6.28
Darkslateblue
#483D8B
ΔE00 6.74
Cobalt Blue
#030AA7
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D2E9F #9F9E2D
analogous
#2D679F #2D2E9F #652D9F
triadic
#2D2E9F #9F2D2E #2E9F2D
tetradic
#2D2E9F #9F2D67 #9F9E2D #2D9F65
square
#2D2E9F #9F2D67 #9F9E2D #2D9F65
split-complementary
#2D2E9F #9F652D #679F2D
monochromatic
#121240 #20206F #2D2E9F #4041C9 #7071D6
Accessibility & contrast
On white
10.48
#2D2E9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2D2E9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D2E9F
10.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D2E9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D2E9F | 1.00 | 10.48 | 2.00 | 10.48 |
| #FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2d2e9f; /* rgb */ color: rgb(45, 46, 159); /* oklch */ color: oklch(38.4% 0.177 273.9);
Tailwind
colors: {
custom: {
50: '#7768bc',
500: '#2d2e9f',
950: '#000000',
},
}SCSS
$custom: #2d2e9f; $custom-light: #7768bc; $custom-dark: #000000;
JSON
{
"hex": "#2d2e9f",
"rgb": {
"r": 45,
"g": 46,
"b": 159
},
"hsl": {
"h": 239.474,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.38449,
"c": 0.17686,
"h": 273.9
},
"luminance": 0.05015
}Semantic roles & 50–950 ramp
primary
#2D2E9F
secondary
#BEBD6A
accent
#DE49DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81