#2D3F87#2D3F87
#2D3F87 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.5% C 0.122 H 269.5°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3F87 |
|---|---|
| RGB | rgb(45, 63, 135) |
| HSL | hsl(228, 50%, 35%) |
| HSV | hsv(228, 67%, 53%) |
| CMYK | cmyk(66.7%, 53.3%, 0%, 47.1%) |
| CIE-LAB | lab(29.06, 17.64, -42.56) |
| CIE-LCH | lch(29.06, 46.07, 292.51°) |
| OKLab | oklab(39.5% -0.001 -0.1221) |
| OKLCH | oklch(39.5% 0.122 269.5) |
| XYZ | xyz(7.2314, 5.8615, 23.6673) |
| Luminance | 0.0586 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 4.51
Blueberry
#464196
ΔE00 5.07
Darkish Blue
#014182
ΔE00 5.40
Darkslateblue
#483D8B
ΔE00 5.72
Sapphire (survey)
#2138AB
ΔE00 6.23
Cobalt
#0047AB
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3F87 #87752D
analogous
#2D6C87 #2D3F87 #482D87
triadic
#2D3F87 #872D3F #3F872D
tetradic
#2D3F87 #872D6C #87752D #2D8748
square
#2D3F87 #872D6C #87752D #2D8748
split-complementary
#2D3F87 #87482D #6C872D
monochromatic
#0E142B #1E2A59 #2D3F87 #3C54B5 #6378CB
Accessibility & contrast
On white
9.67
#2D3F87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2D3F87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3F87
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3F87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3F87 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#13498A
Deuteranopia (green-blind)
#004186
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2d3f87; /* rgb */ color: rgb(45, 63, 135); /* oklch */ color: oklch(39.5% 0.122 269.5);
Tailwind
colors: {
custom: {
50: '#7073aa',
500: '#2d3f87',
950: '#000000',
},
}SCSS
$custom: #2d3f87; $custom-light: #7073aa; $custom-dark: #000000;
JSON
{
"hex": "#2d3f87",
"rgb": {
"r": 45,
"g": 63,
"b": 135
},
"hsl": {
"h": 228,
"s": 50,
"l": 35.294
},
"oklch": {
"l": 0.39502,
"c": 0.12212,
"h": 269.5
},
"luminance": 0.05862
}Semantic roles & 50–950 ramp
primary
#2D3F87
secondary
#B2A15E
accent
#BE4EDA
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080810
muted
#7B7B7F