#2D4CAC#2D4CAC
#2D4CAC is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.158 H 266.5°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4CAC |
|---|---|
| RGB | rgb(45, 76, 172) |
| HSL | hsl(225, 59%, 43%) |
| HSV | hsv(225, 74%, 67%) |
| CMYK | cmyk(73.8%, 55.8%, 0%, 32.5%) |
| CIE-LAB | lab(35.41, 22.89, -54.74) |
| CIE-LCH | lch(35.41, 59.34, 292.69°) |
| OKLab | oklab(45.16% -0.0097 -0.1577) |
| OKLCH | oklch(45.16% 0.158 266.5) |
| XYZ | xyz(11.1104, 8.7041, 40.1163) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.89
Sapphire
#0F52BA
ΔE00 3.48
Cobalt (survey)
#1E488F
ΔE00 4.78
Blue Blue
#2242C7
ΔE00 5.00
Dusk Blue
#26538D
ΔE00 5.97
Sapphire (survey)
#2138AB
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4CAC #AC8D2D
analogous
#2D8CAC #2D4CAC #4D2DAC
triadic
#2D4CAC #AC2D4C #4CAC2D
tetradic
#2D4CAC #AC2D8C #AC8D2D #2DAC4D
square
#2D4CAC #AC2D8C #AC8D2D #2DAC4D
split-complementary
#2D4CAC #AC4D2D #8CAC2D
monochromatic
#14214B #20377B #2D4CAC #4768CF #7890DC
Accessibility & contrast
On white
7.66
#2D4CAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#2D4CAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4CAC
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4CAC | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#004EAA
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2d4cac; /* rgb */ color: rgb(45, 76, 172); /* oklch */ color: oklch(45.2% 0.158 266.5);
Tailwind
colors: {
custom: {
50: '#787dc5',
500: '#2d4cac',
950: '#000000',
},
}SCSS
$custom: #2d4cac; $custom-light: #787dc5; $custom-dark: #000000;
JSON
{
"hex": "#2d4cac",
"rgb": {
"r": 45,
"g": 76,
"b": 172
},
"hsl": {
"h": 225.354,
"s": 58.525,
"l": 42.549
},
"oklch": {
"l": 0.4516,
"c": 0.15805,
"h": 266.5
},
"luminance": 0.08705
}Semantic roles & 50–950 ramp
primary
#2D4CAC
secondary
#C4AF71
accent
#BC46E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82