#2D4EB1#2D4EB1
#2D4EB1 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.0% C 0.162 H 266.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4EB1 |
|---|---|
| RGB | rgb(45, 78, 177) |
| HSL | hsl(225, 59%, 44%) |
| HSV | hsv(225, 75%, 69%) |
| CMYK | cmyk(74.6%, 55.9%, 0%, 30.6%) |
| CIE-LAB | lab(36.33, 23.45, -56.22) |
| CIE-LCH | lch(36.33, 60.91, 292.65°) |
| OKLab | oklab(45.97% -0.011 -0.1621) |
| OKLCH | oklch(45.97% 0.162 266.1) |
| XYZ | xyz(11.7396, 9.1797, 42.7396) |
| Luminance | 0.0918 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.87
Cobalt
#0047AB
ΔE00 3.29
Blue Blue
#2242C7
ΔE00 4.96
Cobalt (survey)
#1E488F
ΔE00 5.40
Dusk Blue
#26538D
ΔE00 6.09
Denim Blue
#3B5B92
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4EB1 #B1902D
analogous
#2D90B1 #2D4EB1 #4E2DB1
triadic
#2D4EB1 #B12D4E #4EB12D
tetradic
#2D4EB1 #B12D90 #B1902D #2DB14E
square
#2D4EB1 #B12D90 #B1902D #2DB14E
split-complementary
#2D4EB1 #B14E2D #90B12D
monochromatic
#14234F #213880 #2D4EB1 #4A6CD1 #7B94DD
Accessibility & contrast
On white
7.40
#2D4EB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#2D4EB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4EB1
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4EB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4EB1 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2d4eb1; /* rgb */ color: rgb(45, 78, 177); /* oklch */ color: oklch(46.0% 0.162 266.1);
Tailwind
colors: {
custom: {
50: '#797fc9',
500: '#2d4eb1',
950: '#000000',
},
}SCSS
$custom: #2d4eb1; $custom-light: #797fc9; $custom-dark: #000000;
JSON
{
"hex": "#2d4eb1",
"rgb": {
"r": 45,
"g": 78,
"b": 177
},
"hsl": {
"h": 225,
"s": 59.459,
"l": 43.529
},
"oklch": {
"l": 0.45972,
"c": 0.16243,
"h": 266.1
},
"luminance": 0.09181
}Semantic roles & 50–950 ramp
primary
#2D4EB1
secondary
#C6B174
accent
#BB45E3
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82