#2D4DAF#2D4DAF
#2D4DAF is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.161 H 266.3°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4DAF |
|---|---|
| RGB | rgb(45, 77, 175) |
| HSL | hsl(225, 59%, 43%) |
| HSV | hsv(225, 74%, 69%) |
| CMYK | cmyk(74.3%, 56%, 0%, 31.4%) |
| CIE-LAB | lab(35.91, 23.36, -55.72) |
| CIE-LCH | lch(35.91, 60.41, 292.75°) |
| OKLab | oklab(45.61% -0.0103 -0.1606) |
| OKLCH | oklch(45.61% 0.161 266.3) |
| XYZ | xyz(11.4712, 8.9596, 41.6739) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.09
Sapphire
#0F52BA
ΔE00 3.15
Blue Blue
#2242C7
ΔE00 4.90
Cobalt (survey)
#1E488F
ΔE00 5.14
Dusk Blue
#26538D
ΔE00 6.07
Denim Blue
#3B5B92
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4DAF #AF8F2D
analogous
#2D8EAF #2D4DAF #4E2DAF
triadic
#2D4DAF #AF2D4D #4DAF2D
tetradic
#2D4DAF #AF2D8E #AF8F2D #2DAF4E
square
#2D4DAF #AF2D8E #AF8F2D #2DAF4E
split-complementary
#2D4DAF #AF4E2D #8EAF2D
monochromatic
#14224E #20387E #2D4DAF #496AD0 #7A92DD
Accessibility & contrast
On white
7.52
#2D4DAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#2D4DAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4DAF
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4DAF | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB2
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2d4daf; /* rgb */ color: rgb(45, 77, 175); /* oklch */ color: oklch(45.6% 0.161 266.3);
Tailwind
colors: {
custom: {
50: '#787ec8',
500: '#2d4daf',
950: '#000000',
},
}SCSS
$custom: #2d4daf; $custom-light: #787ec8; $custom-dark: #000000;
JSON
{
"hex": "#2d4daf",
"rgb": {
"r": 45,
"g": 77,
"b": 175
},
"hsl": {
"h": 225.231,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.45607,
"c": 0.16093,
"h": 266.3
},
"luminance": 0.08961
}Semantic roles & 50–950 ramp
primary
#2D4DAF
secondary
#C5B173
accent
#BC46E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82