#2D4EBC#2D4EBC
#2D4EBC is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.9% C 0.177 H 266.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4EBC |
|---|---|
| RGB | rgb(45, 78, 188) |
| HSL | hsl(226, 61%, 46%) |
| HSV | hsv(226, 76%, 74%) |
| CMYK | cmyk(76.1%, 58.5%, 0%, 26.3%) |
| CIE-LAB | lab(37.18, 27.59, -61.31) |
| CIE-LCH | lch(37.18, 67.23, 294.23°) |
| OKLab | oklab(46.88% -0.0105 -0.177) |
| OKLCH | oklch(46.88% 0.177 266.6) |
| XYZ | xyz(12.8805, 9.6361, 48.7483) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.17
Blue Blue
#2242C7
ΔE00 4.00
Cobalt
#0047AB
ΔE00 4.20
Blue (survey)
#0343DF
ΔE00 5.33
Warm Blue
#4B57DB
ΔE00 6.30
Ocean Blue
#4F42B5
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4EBC #BC9B2D
analogous
#2D95BC #2D4EBC #542DBC
triadic
#2D4EBC #BC2D4E #4EBC2D
tetradic
#2D4EBC #BC2D95 #BC9B2D #2DBC54
square
#2D4EBC #BC2D95 #BC9B2D #2DBC54
split-complementary
#2D4EBC #BC542D #95BC2D
monochromatic
#152559 #213A8B #2D4EBC #516FD5 #8298E1
Accessibility & contrast
On white
7.17
#2D4EBC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#2D4EBC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4EBC
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4EBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4EBC | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0051BA
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2d4ebc; /* rgb */ color: rgb(45, 78, 188); /* oklch */ color: oklch(46.9% 0.177 266.6);
Tailwind
colors: {
custom: {
50: '#7b7fd1',
500: '#2d4ebc',
950: '#000000',
},
}SCSS
$custom: #2d4ebc; $custom-light: #7b7fd1; $custom-dark: #000000;
JSON
{
"hex": "#2d4ebc",
"rgb": {
"r": 45,
"g": 78,
"b": 188
},
"hsl": {
"h": 226.154,
"s": 61.373,
"l": 45.686
},
"oklch": {
"l": 0.4688,
"c": 0.17733,
"h": 266.6
},
"luminance": 0.09638
}Semantic roles & 50–950 ramp
primary
#2D4EBC
secondary
#CAB87B
accent
#BF43E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82