#2D418F#2D418F
#2D418F is a dark, vivid blue. Relative luminance 0.063; OKLCH L 40.6% C 0.131 H 269.0°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #2D418F |
|---|---|
| RGB | rgb(45, 65, 143) |
| HSL | hsl(228, 52%, 37%) |
| HSV | hsv(228, 69%, 56%) |
| CMYK | cmyk(68.5%, 54.5%, 0%, 43.9%) |
| CIE-LAB | lab(30.21, 19.30, -45.64) |
| CIE-LCH | lch(30.21, 49.56, 292.92°) |
| OKLab | oklab(40.56% -0.0023 -0.1312) |
| OKLCH | oklch(40.56% 0.131 269) |
| XYZ | xyz(7.9287, 6.3209, 26.7835) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.98
Blueberry
#464196
ΔE00 4.71
Cobalt
#0047AB
ΔE00 5.10
Sapphire (survey)
#2138AB
ΔE00 5.40
Darkish Blue
#014182
ΔE00 5.47
Darkslateblue
#483D8B
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D418F #8F7B2D
analogous
#2D728F #2D418F #4A2D8F
triadic
#2D418F #8F2D41 #418F2D
tetradic
#2D418F #8F2D72 #8F7B2D #2D8F4A
square
#2D418F #8F2D72 #8F7B2D #2D8F4A
split-complementary
#2D418F #8F4A2D #728F2D
monochromatic
#101732 #1E2C60 #2D418F #3C56BE #677CCF
Accessibility & contrast
On white
9.27
#2D418F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#2D418F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D418F
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D418F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D418F | 1.00 | 9.27 | 2.26 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B4C92
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#005461
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2d418f; /* rgb */ color: rgb(45, 65, 143); /* oklch */ color: oklch(40.6% 0.131 269.0);
Tailwind
colors: {
custom: {
50: '#7275b0',
500: '#2d418f',
950: '#000000',
},
}SCSS
$custom: #2d418f; $custom-light: #7275b0; $custom-dark: #000000;
JSON
{
"hex": "#2d418f",
"rgb": {
"r": 45,
"g": 65,
"b": 143
},
"hsl": {
"h": 227.755,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.40555,
"c": 0.13118,
"h": 269
},
"luminance": 0.06322
}Semantic roles & 50–950 ramp
primary
#2D418F
secondary
#B6A562
accent
#BE4CDC
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090811
muted
#7B7B80