#2D3FB8#2D3FB8
#2D3FB8 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.7% C 0.190 H 269.8°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3FB8 |
|---|---|
| RGB | rgb(45, 63, 184) |
| HSL | hsl(232, 61%, 45%) |
| HSV | hsv(232, 76%, 72%) |
| CMYK | cmyk(75.5%, 65.8%, 0%, 27.8%) |
| CIE-LAB | lab(33.08, 35.83, -65.67) |
| CIE-LCH | lch(33.08, 74.80, 298.62°) |
| OKLab | oklab(43.74% -0.0008 -0.1899) |
| OKLCH | oklch(43.74% 0.19 269.8) |
| XYZ | xyz(11.5085, 7.5723, 46.1932) |
| Luminance | 0.0757 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.15
Sapphire (survey)
#2138AB
ΔE00 2.75
Ocean Blue
#4F42B5
ΔE00 4.34
Blue (survey)
#0343DF
ΔE00 4.93
Cobalt
#0047AB
ΔE00 5.50
Blue With A Hint Of Purple
#533CC6
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3FB8 #B8A62D
analogous
#2D85B8 #2D3FB8 #602DB8
triadic
#2D3FB8 #B82D3F #3FB82D
tetradic
#2D3FB8 #B82D85 #B8A62D #2DB860
square
#2D3FB8 #B82D85 #B8A62D #2DB860
split-complementary
#2D3FB8 #B8602D #85B82D
monochromatic
#151D56 #212E87 #2D3FB8 #4E60D4 #808CE0
Accessibility & contrast
On white
8.35
#2D3FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2D3FB8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3FB8
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3FB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3FB8 | 1.00 | 8.35 | 2.51 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0047B6
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2d3fb8; /* rgb */ color: rgb(45, 63, 184); /* oklch */ color: oklch(43.7% 0.190 269.8);
Tailwind
colors: {
custom: {
50: '#7c74ce',
500: '#2d3fb8',
950: '#000000',
},
}SCSS
$custom: #2d3fb8; $custom-light: #7c74ce; $custom-dark: #000000;
JSON
{
"hex": "#2d3fb8",
"rgb": {
"r": 45,
"g": 63,
"b": 184
},
"hsl": {
"h": 232.23,
"s": 60.699,
"l": 44.902
},
"oklch": {
"l": 0.43737,
"c": 0.18995,
"h": 269.8
},
"luminance": 0.07574
}Semantic roles & 50–950 ramp
primary
#2D3FB8
secondary
#C9BE78
accent
#CF44E4
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82