#2D4EBA#2D4EBA
#2D4EBA is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.175 H 266.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4EBA |
|---|---|
| RGB | rgb(45, 78, 186) |
| HSL | hsl(226, 61%, 45%) |
| HSV | hsv(226, 76%, 73%) |
| CMYK | cmyk(75.8%, 58.1%, 0%, 27.1%) |
| CIE-LAB | lab(37.02, 26.84, -60.39) |
| CIE-LCH | lch(37.02, 66.09, 293.96°) |
| OKLab | oklab(46.71% -0.0105 -0.1743) |
| OKLCH | oklch(46.71% 0.175 266.5) |
| XYZ | xyz(12.6664, 9.5504, 47.6207) |
| Luminance | 0.0955 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.06
Cobalt
#0047AB
ΔE00 4.00
Blue Blue
#2242C7
ΔE00 4.14
Blue (survey)
#0343DF
ΔE00 5.56
Warm Blue
#4B57DB
ΔE00 6.53
Cobalt (survey)
#1E488F
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4EBA #BA992D
analogous
#2D95BA #2D4EBA #522DBA
triadic
#2D4EBA #BA2D4E #4EBA2D
tetradic
#2D4EBA #BA2D95 #BA992D #2DBA52
square
#2D4EBA #BA2D95 #BA992D #2DBA52
split-complementary
#2D4EBA #BA522D #95BA2D
monochromatic
#152557 #213989 #2D4EBA #506FD5 #8197E0
Accessibility & contrast
On white
7.22
#2D4EBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#2D4EBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4EBA
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4EBA | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2d4eba; /* rgb */ color: rgb(45, 78, 186); /* oklch */ color: oklch(46.7% 0.175 266.5);
Tailwind
colors: {
custom: {
50: '#7b7fd0',
500: '#2d4eba',
950: '#000000',
},
}SCSS
$custom: #2d4eba; $custom-light: #7b7fd0; $custom-dark: #000000;
JSON
{
"hex": "#2d4eba",
"rgb": {
"r": 45,
"g": 78,
"b": 186
},
"hsl": {
"h": 225.957,
"s": 61.039,
"l": 45.294
},
"oklch": {
"l": 0.46712,
"c": 0.17465,
"h": 266.5
},
"luminance": 0.09552
}Semantic roles & 50–950 ramp
primary
#2D4EBA
secondary
#C9B779
accent
#BF44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82