#2D4EB9#2D4EB9
#2D4EB9 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.6% C 0.173 H 266.5°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4EB9 |
|---|---|
| RGB | rgb(45, 78, 185) |
| HSL | hsl(226, 61%, 45%) |
| HSV | hsv(226, 76%, 73%) |
| CMYK | cmyk(75.7%, 57.8%, 0%, 27.5%) |
| CIE-LAB | lab(36.94, 26.47, -59.93) |
| CIE-LCH | lch(36.94, 65.52, 293.83°) |
| OKLab | oklab(46.63% -0.0106 -0.173) |
| OKLCH | oklch(46.63% 0.173 266.5) |
| XYZ | xyz(12.5605, 9.5081, 47.0628) |
| Luminance | 0.0951 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.02
Cobalt
#0047AB
ΔE00 3.91
Blue Blue
#2242C7
ΔE00 4.22
Blue (survey)
#0343DF
ΔE00 5.68
Cobalt (survey)
#1E488F
ΔE00 6.45
Warm Blue
#4B57DB
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4EB9 #B9982D
analogous
#2D94B9 #2D4EB9 #522DB9
triadic
#2D4EB9 #B92D4E #4EB92D
tetradic
#2D4EB9 #B92D94 #B9982D #2DB952
square
#2D4EB9 #B92D94 #B9982D #2DB952
split-complementary
#2D4EB9 #B9522D #94B92D
monochromatic
#152457 #213988 #2D4EB9 #4F6ED4 #8097E0
Accessibility & contrast
On white
7.24
#2D4EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#2D4EB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4EB9
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4EB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4EB9 | 1.00 | 7.24 | 2.90 | 7.24 |
| #FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2d4eb9; /* rgb */ color: rgb(45, 78, 185); /* oklch */ color: oklch(46.6% 0.173 266.5);
Tailwind
colors: {
custom: {
50: '#7b7fcf',
500: '#2d4eb9',
950: '#000000',
},
}SCSS
$custom: #2d4eb9; $custom-light: #7b7fcf; $custom-dark: #000000;
JSON
{
"hex": "#2d4eb9",
"rgb": {
"r": 45,
"g": 78,
"b": 185
},
"hsl": {
"h": 225.857,
"s": 60.87,
"l": 45.098
},
"oklch": {
"l": 0.46629,
"c": 0.1733,
"h": 266.5
},
"luminance": 0.09509
}Semantic roles & 50–950 ramp
primary
#2D4EB9
secondary
#C9B679
accent
#BE44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82