#2D4EB8#2D4EB8
#2D4EB8 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.172 H 266.5°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4EB8 |
|---|---|
| RGB | rgb(45, 78, 184) |
| HSL | hsl(226, 61%, 45%) |
| HSV | hsv(226, 76%, 72%) |
| CMYK | cmyk(75.5%, 57.6%, 0%, 27.8%) |
| CIE-LAB | lab(36.87, 26.09, -59.47) |
| CIE-LCH | lch(36.87, 64.95, 293.69°) |
| OKLab | oklab(46.55% -0.0106 -0.1716) |
| OKLCH | oklch(46.55% 0.172 266.5) |
| XYZ | xyz(12.4553, 9.4660, 46.5088) |
| Luminance | 0.0947 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.98
Cobalt
#0047AB
ΔE00 3.82
Blue Blue
#2242C7
ΔE00 4.30
Blue (survey)
#0343DF
ΔE00 5.80
Cobalt (survey)
#1E488F
ΔE00 6.32
Warm Blue
#4B57DB
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4EB8 #B8972D
analogous
#2D94B8 #2D4EB8 #512DB8
triadic
#2D4EB8 #B82D4E #4EB82D
tetradic
#2D4EB8 #B82D94 #B8972D #2DB851
square
#2D4EB8 #B82D94 #B8972D #2DB851
split-complementary
#2D4EB8 #B8512D #94B82D
monochromatic
#152456 #213987 #2D4EB8 #4E6ED4 #8096E0
Accessibility & contrast
On white
7.26
#2D4EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#2D4EB8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4EB8
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4EB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4EB8 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBC
Deuteranopia (green-blind)
#0051B6
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2d4eb8; /* rgb */ color: rgb(45, 78, 184); /* oklch */ color: oklch(46.5% 0.172 266.5);
Tailwind
colors: {
custom: {
50: '#7a7fce',
500: '#2d4eb8',
950: '#000000',
},
}SCSS
$custom: #2d4eb8; $custom-light: #7a7fce; $custom-dark: #000000;
JSON
{
"hex": "#2d4eb8",
"rgb": {
"r": 45,
"g": 78,
"b": 184
},
"hsl": {
"h": 225.755,
"s": 60.699,
"l": 44.902
},
"oklch": {
"l": 0.46546,
"c": 0.17195,
"h": 266.5
},
"luminance": 0.09467
}Semantic roles & 50–950 ramp
primary
#2D4EB8
secondary
#C9B678
accent
#BE44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82