#2D339F#2D339F
#2D339F is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.171 H 272.9°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2D339F |
|---|---|
| RGB | rgb(45, 51, 159) |
| HSL | hsl(237, 56%, 40%) |
| HSV | hsv(237, 72%, 62%) |
| CMYK | cmyk(71.7%, 67.9%, 0%, 37.6%) |
| CIE-LAB | lab(27.92, 34.47, -59.15) |
| CIE-LCH | lch(27.92, 68.46, 300.24°) |
| OKLab | oklab(39.28% 0.0088 -0.1709) |
| OKLCH | oklch(39.28% 0.171 272.9) |
| XYZ | xyz(8.5219, 5.4279, 33.3927) |
| Luminance | 0.0543 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.45
Blueberry
#464196
ΔE00 5.29
Darkslateblue
#483D8B
ΔE00 6.09
Ocean Blue
#4F42B5
ΔE00 6.44
Indigo Blue
#3A18B1
ΔE00 6.70
Blue Blue
#2242C7
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D339F #9F992D
analogous
#2D6C9F #2D339F #602D9F
triadic
#2D339F #9F2D33 #339F2D
tetradic
#2D339F #9F2D6C #9F992D #2D9F60
square
#2D339F #9F2D6C #9F992D #2D9F60
split-complementary
#2D339F #9F602D #6C9F2D
monochromatic
#121440 #20246F #2D339F #4047C9 #7075D6
Accessibility & contrast
On white
10.07
#2D339F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#2D339F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D339F
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D339F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D339F | 1.00 | 10.07 | 2.09 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2d339f; /* rgb */ color: rgb(45, 51, 159); /* oklch */ color: oklch(39.3% 0.171 272.9);
Tailwind
colors: {
custom: {
50: '#776bbc',
500: '#2d339f',
950: '#000000',
},
}SCSS
$custom: #2d339f; $custom-light: #776bbc; $custom-dark: #000000;
JSON
{
"hex": "#2d339f",
"rgb": {
"r": 45,
"g": 51,
"b": 159
},
"hsl": {
"h": 236.842,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.39277,
"c": 0.17117,
"h": 272.9
},
"luminance": 0.05429
}Semantic roles & 50–950 ramp
primary
#2D339F
secondary
#BEB96A
accent
#D749DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81