#2D3F98#2D3F98
#2D3F98 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.147 H 270.0°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2D3F98 |
|---|---|
| RGB | rgb(45, 63, 152) |
| HSL | hsl(230, 54%, 39%) |
| HSV | hsv(230, 70%, 60%) |
| CMYK | cmyk(70.4%, 58.6%, 0%, 40.4%) |
| CIE-LAB | lab(30.35, 24.04, -50.92) |
| CIE-LCH | lch(30.35, 56.31, 295.27°) |
| OKLab | oklab(40.88% 0 -0.1467) |
| OKLCH | oklch(40.88% 0.147 270) |
| XYZ | xyz(8.5253, 6.3791, 30.4817) |
| Luminance | 0.0638 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.72
Blueberry
#464196
ΔE00 4.12
Cobalt
#0047AB
ΔE00 4.89
Cobalt (survey)
#1E488F
ΔE00 5.10
Darkslateblue
#483D8B
ΔE00 5.62
Blue Blue
#2242C7
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D3F98 #98862D
analogous
#2D7498 #2D3F98 #502D98
triadic
#2D3F98 #982D3F #3F982D
tetradic
#2D3F98 #982D74 #98862D #2D9850
square
#2D3F98 #982D74 #98862D #2D9850
split-complementary
#2D3F98 #98502D #74982D
monochromatic
#11183A #1F2B69 #2D3F98 #3D54C5 #6C7DD3
Accessibility & contrast
On white
9.23
#2D3F98 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2D3F98 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D3F98
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D3F98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D3F98 | 1.00 | 9.23 | 2.28 | 9.23 |
| #FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#004396
Tritanopia (blue-blind)
#005565
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2d3f98; /* rgb */ color: rgb(45, 63, 152); /* oklch */ color: oklch(40.9% 0.147 270.0);
Tailwind
colors: {
custom: {
50: '#7473b7',
500: '#2d3f98',
950: '#000000',
},
}SCSS
$custom: #2d3f98; $custom-light: #7473b7; $custom-dark: #000000;
JSON
{
"hex": "#2d3f98",
"rgb": {
"r": 45,
"g": 63,
"b": 152
},
"hsl": {
"h": 229.907,
"s": 54.315,
"l": 38.627
},
"oklch": {
"l": 0.40879,
"c": 0.14671,
"h": 270
},
"luminance": 0.0638
}Semantic roles & 50–950 ramp
primary
#2D3F98
secondary
#BAAC66
accent
#C54ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80