#2D4CAF#2D4CAF
#2D4CAF is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.162 H 266.6°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4CAF |
|---|---|
| RGB | rgb(45, 76, 175) |
| HSL | hsl(226, 59%, 43%) |
| HSV | hsv(226, 74%, 69%) |
| CMYK | cmyk(74.3%, 56.6%, 0%, 31.4%) |
| CIE-LAB | lab(35.64, 24.02, -56.15) |
| CIE-LCH | lch(35.64, 61.08, 293.16°) |
| OKLab | oklab(45.4% -0.0096 -0.1619) |
| OKLCH | oklch(45.4% 0.162 266.6) |
| XYZ | xyz(11.4018, 8.8207, 41.6508) |
| Luminance | 0.0882 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.03
Sapphire
#0F52BA
ΔE00 3.42
Blue Blue
#2242C7
ΔE00 4.65
Cobalt (survey)
#1E488F
ΔE00 5.18
Sapphire (survey)
#2138AB
ΔE00 6.14
Dusk Blue
#26538D
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4CAF #AF902D
analogous
#2D8DAF #2D4CAF #4F2DAF
triadic
#2D4CAF #AF2D4C #4CAF2D
tetradic
#2D4CAF #AF2D8D #AF902D #2DAF4F
square
#2D4CAF #AF2D8D #AF902D #2DAF4F
split-complementary
#2D4CAF #AF4F2D #8DAF2D
monochromatic
#14224E #20377E #2D4CAF #4969D0 #7A91DD
Accessibility & contrast
On white
7.60
#2D4CAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2D4CAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4CAF
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4CAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4CAF | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2d4caf; /* rgb */ color: rgb(45, 76, 175); /* oklch */ color: oklch(45.4% 0.162 266.6);
Tailwind
colors: {
custom: {
50: '#787dc8',
500: '#2d4caf',
950: '#000000',
},
}SCSS
$custom: #2d4caf; $custom-light: #787dc8; $custom-dark: #000000;
JSON
{
"hex": "#2d4caf",
"rgb": {
"r": 45,
"g": 76,
"b": 175
},
"hsl": {
"h": 225.692,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.45404,
"c": 0.16218,
"h": 266.6
},
"luminance": 0.08822
}Semantic roles & 50–950 ramp
primary
#2D4CAF
secondary
#C5B173
accent
#BD46E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82