#2C4BBD#2C4BBD
#2C4BBD is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.183 H 267.1°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4BBD |
|---|---|
| RGB | rgb(44, 75, 189) |
| HSL | hsl(227, 62%, 46%) |
| HSV | hsv(227, 77%, 74%) |
| CMYK | cmyk(76.7%, 60.3%, 0%, 25.9%) |
| CIE-LAB | lab(36.44, 29.82, -63.10) |
| CIE-LCH | lch(36.44, 69.79, 295.29°) |
| OKLab | oklab(46.34% -0.0093 -0.1823) |
| OKLCH | oklch(46.34% 0.183 267.1) |
| XYZ | xyz(12.7369, 9.2403, 49.2465) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.04
Sapphire
#0F52BA
ΔE00 3.93
Cobalt
#0047AB
ΔE00 4.17
Blue (survey)
#0343DF
ΔE00 4.69
Ocean Blue
#4F42B5
ΔE00 5.98
Sapphire (survey)
#2138AB
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4BBD #BD9E2C
analogous
#2C94BD #2C4BBD #552CBD
triadic
#2C4BBD #BD2C4B #4BBD2C
tetradic
#2C4BBD #BD2C94 #BD9E2C #2CBD55
square
#2C4BBD #BD2C94 #BD9E2C #2CBD55
split-complementary
#2C4BBD #BD552C #94BD2C
monochromatic
#15245A #20378B #2C4BBD #506DD6 #8296E2
Accessibility & contrast
On white
7.37
#2C4BBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#2C4BBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4BBD
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4BBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4BBD | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2c4bbd; /* rgb */ color: rgb(44, 75, 189); /* oklch */ color: oklch(46.3% 0.183 267.1);
Tailwind
colors: {
custom: {
50: '#7b7dd2',
500: '#2c4bbd',
950: '#000000',
},
}SCSS
$custom: #2c4bbd; $custom-light: #7b7dd2; $custom-dark: #000000;
JSON
{
"hex": "#2c4bbd",
"rgb": {
"r": 44,
"g": 75,
"b": 189
},
"hsl": {
"h": 227.172,
"s": 62.232,
"l": 45.686
},
"oklch": {
"l": 0.46343,
"c": 0.18258,
"h": 267.1
},
"luminance": 0.09242
}Semantic roles & 50–950 ramp
primary
#2C4BBD
secondary
#CBB97A
accent
#C242E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83