#2D4EB5#2D4EB5
#2D4EB5 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.168 H 266.3°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4EB5 |
|---|---|
| RGB | rgb(45, 78, 181) |
| HSL | hsl(225, 60%, 44%) |
| HSV | hsv(225, 75%, 71%) |
| CMYK | cmyk(75.1%, 56.9%, 0%, 29%) |
| CIE-LAB | lab(36.63, 24.96, -58.08) |
| CIE-LCH | lch(36.63, 63.22, 293.26°) |
| OKLab | oklab(46.3% -0.0108 -0.1675) |
| OKLCH | oklch(46.3% 0.168 266.3) |
| XYZ | xyz(12.1441, 9.3415, 44.8702) |
| Luminance | 0.0934 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.89
Cobalt
#0047AB
ΔE00 3.57
Blue Blue
#2242C7
ΔE00 4.57
Cobalt (survey)
#1E488F
ΔE00 5.92
Blue (survey)
#0343DF
ΔE00 6.16
Denim Blue
#3B5B92
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4EB5 #B5942D
analogous
#2D92B5 #2D4EB5 #502DB5
triadic
#2D4EB5 #B52D4E #4EB52D
tetradic
#2D4EB5 #B52D92 #B5942D #2DB550
square
#2D4EB5 #B52D92 #B5942D #2DB550
split-complementary
#2D4EB5 #B5502D #92B52D
monochromatic
#152453 #213984 #2D4EB5 #4D6DD3 #7E95DF
Accessibility & contrast
On white
7.32
#2D4EB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#2D4EB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4EB5
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4EB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4EB5 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#0050B3
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2d4eb5; /* rgb */ color: rgb(45, 78, 181); /* oklch */ color: oklch(46.3% 0.168 266.3);
Tailwind
colors: {
custom: {
50: '#7a7fcc',
500: '#2d4eb5',
950: '#000000',
},
}SCSS
$custom: #2d4eb5; $custom-light: #7a7fcc; $custom-dark: #000000;
JSON
{
"hex": "#2d4eb5",
"rgb": {
"r": 45,
"g": 78,
"b": 181
},
"hsl": {
"h": 225.441,
"s": 60.177,
"l": 44.314
},
"oklch": {
"l": 0.46298,
"c": 0.16789,
"h": 266.3
},
"luminance": 0.09343
}Semantic roles & 50–950 ramp
primary
#2D4EB5
secondary
#C7B476
accent
#BD44E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82