#2D4CBC#2D4CBC
#2D4CBC is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.5% C 0.180 H 267.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4CBC |
|---|---|
| RGB | rgb(45, 76, 188) |
| HSL | hsl(227, 61%, 46%) |
| HSV | hsv(227, 76%, 74%) |
| CMYK | cmyk(76.1%, 59.6%, 0%, 26.3%) |
| CIE-LAB | lab(36.66, 28.90, -62.16) |
| CIE-LCH | lch(36.66, 68.55, 294.94°) |
| OKLab | oklab(46.49% -0.0091 -0.1795) |
| OKLCH | oklch(46.49% 0.18 267.1) |
| XYZ | xyz(12.7406, 9.3562, 48.7017) |
| Luminance | 0.0936 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.39
Sapphire
#0F52BA
ΔE00 3.69
Cobalt
#0047AB
ΔE00 4.14
Blue (survey)
#0343DF
ΔE00 4.96
Ocean Blue
#4F42B5
ΔE00 6.16
Sapphire (survey)
#2138AB
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4CBC #BC9D2D
analogous
#2D93BC #2D4CBC #552DBC
triadic
#2D4CBC #BC2D4C #4CBC2D
tetradic
#2D4CBC #BC2D93 #BC9D2D #2DBC55
square
#2D4CBC #BC2D93 #BC9D2D #2DBC55
split-complementary
#2D4CBC #BC552D #93BC2D
monochromatic
#152459 #21388B #2D4CBC #516ED5 #8297E1
Accessibility & contrast
On white
7.31
#2D4CBC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#2D4CBC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4CBC
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4CBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4CBC | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2d4cbc; /* rgb */ color: rgb(45, 76, 188); /* oklch */ color: oklch(46.5% 0.180 267.1);
Tailwind
colors: {
custom: {
50: '#7b7dd1',
500: '#2d4cbc',
950: '#000000',
},
}SCSS
$custom: #2d4cbc; $custom-light: #7b7dd1; $custom-dark: #000000;
JSON
{
"hex": "#2d4cbc",
"rgb": {
"r": 45,
"g": 76,
"b": 188
},
"hsl": {
"h": 226.993,
"s": 61.373,
"l": 45.686
},
"oklch": {
"l": 0.46492,
"c": 0.17977,
"h": 267.1
},
"luminance": 0.09358
}Semantic roles & 50–950 ramp
primary
#2D4CBC
secondary
#CAB97B
accent
#C243E4
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83