#2D379F#2D379F
#2D379F is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.166 H 272.1°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2D379F |
|---|---|
| RGB | rgb(45, 55, 159) |
| HSL | hsl(235, 56%, 40%) |
| HSV | hsv(235, 72%, 62%) |
| CMYK | cmyk(71.7%, 65.4%, 0%, 37.6%) |
| CIE-LAB | lab(28.88, 31.91, -57.57) |
| CIE-LCH | lch(28.88, 65.82, 299.00°) |
| OKLab | oklab(39.98% 0.0061 -0.1663) |
| OKLCH | oklch(39.98% 0.166 272.1) |
| XYZ | xyz(8.7043, 5.7926, 33.4535) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.92
Blueberry
#464196
ΔE00 4.63
Darkslateblue
#483D8B
ΔE00 5.77
Ocean Blue
#4F42B5
ΔE00 6.07
Blue Blue
#2242C7
ΔE00 6.09
Cobalt
#0047AB
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D379F #9F952D
analogous
#2D709F #2D379F #5C2D9F
triadic
#2D379F #9F2D37 #379F2D
tetradic
#2D379F #9F2D70 #9F952D #2D9F5C
square
#2D379F #9F2D70 #9F952D #2D9F5C
split-complementary
#2D379F #9F5C2D #709F2D
monochromatic
#121640 #20266F #2D379F #404CC9 #7079D6
Accessibility & contrast
On white
9.73
#2D379F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2D379F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D379F
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D379F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D379F | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2d379f; /* rgb */ color: rgb(45, 55, 159); /* oklch */ color: oklch(40.0% 0.166 272.1);
Tailwind
colors: {
custom: {
50: '#766ebc',
500: '#2d379f',
950: '#000000',
},
}SCSS
$custom: #2d379f; $custom-light: #766ebc; $custom-dark: #000000;
JSON
{
"hex": "#2d379f",
"rgb": {
"r": 45,
"g": 55,
"b": 159
},
"hsl": {
"h": 234.737,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.39978,
"c": 0.16641,
"h": 272.1
},
"luminance": 0.05793
}Semantic roles & 50–950 ramp
primary
#2D379F
secondary
#BEB66A
accent
#D249DF
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81