#2D3F9C#2D3F9C
#2D3F9C is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.2% C 0.152 H 270.0°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3F9C |
|---|---|
| RGB | rgb(45, 63, 156) |
| HSL | hsl(230, 55%, 39%) |
| HSV | hsv(230, 71%, 61%) |
| CMYK | cmyk(71.2%, 59.6%, 0%, 38.8%) |
| CIE-LAB | lab(30.67, 25.53, -52.83) |
| CIE-LCH | lch(30.67, 58.68, 295.79°) |
| OKLab | oklab(41.22% 0 -0.1523) |
| OKLCH | oklch(41.22% 0.152 270) |
| XYZ | xyz(8.8584, 6.5123, 32.2362) |
| Luminance | 0.0651 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.21
Blueberry
#464196
ΔE00 4.13
Cobalt
#0047AB
ΔE00 4.73
Cobalt (survey)
#1E488F
ΔE00 5.40
Darkslateblue
#483D8B
ΔE00 5.79
Blue Blue
#2242C7
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3F9C #9C8A2D
analogous
#2D779C #2D3F9C #522D9C
triadic
#2D3F9C #9C2D3F #3F9C2D
tetradic
#2D3F9C #9C2D77 #9C8A2D #2D9C52
square
#2D3F9C #9C2D77 #9C8A2D #2D9C52
split-complementary
#2D3F9C #9C522D #779C2D
monochromatic
#12193D #1F2C6D #2D3F9C #3F55C8 #6E7FD5
Accessibility & contrast
On white
9.12
#2D3F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2D3F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3F9C
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3F9C | 1.00 | 9.12 | 2.30 | 9.12 |
| #FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#00439A
Tritanopia (blue-blind)
#005667
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2d3f9c; /* rgb */ color: rgb(45, 63, 156); /* oklch */ color: oklch(41.2% 0.152 270.0);
Tailwind
colors: {
custom: {
50: '#7573ba',
500: '#2d3f9c',
950: '#000000',
},
}SCSS
$custom: #2d3f9c; $custom-light: #7573ba; $custom-dark: #000000;
JSON
{
"hex": "#2d3f9c",
"rgb": {
"r": 45,
"g": 63,
"b": 156
},
"hsl": {
"h": 230.27,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.41218,
"c": 0.15232,
"h": 270
},
"luminance": 0.06513
}Semantic roles & 50–950 ramp
primary
#2D3F9C
secondary
#BCAF68
accent
#C649DF
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81