#2C4BBC#2C4BBC
#2C4BBC is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.181 H 267.1°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4BBC |
|---|---|
| RGB | rgb(44, 75, 188) |
| HSL | hsl(227, 62%, 45%) |
| HSV | hsv(227, 77%, 74%) |
| CMYK | cmyk(76.6%, 60.1%, 0%, 26.3%) |
| CIE-LAB | lab(36.36, 29.44, -62.65) |
| CIE-LCH | lch(36.36, 69.22, 295.17°) |
| OKLab | oklab(46.26% -0.0093 -0.181) |
| OKLCH | oklch(46.26% 0.181 267.1) |
| XYZ | xyz(12.6287, 9.1971, 48.6768) |
| Luminance | 0.0920 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.12
Sapphire
#0F52BA
ΔE00 3.88
Cobalt
#0047AB
ΔE00 4.06
Blue (survey)
#0343DF
ΔE00 4.81
Sapphire (survey)
#2138AB
ΔE00 5.96
Ocean Blue
#4F42B5
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4BBC #BC9D2C
analogous
#2C93BC #2C4BBC #552CBC
triadic
#2C4BBC #BC2C4B #4BBC2C
tetradic
#2C4BBC #BC2C93 #BC9D2C #2CBC55
square
#2C4BBC #BC2C93 #BC9D2C #2CBC55
split-complementary
#2C4BBC #BC552C #93BC2C
monochromatic
#152359 #20378A #2C4BBC #4F6CD6 #8196E1
Accessibility & contrast
On white
7.40
#2C4BBC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#2C4BBC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4BBC
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4BBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4BBC | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CC0
Deuteranopia (green-blind)
#004FBA
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2c4bbc; /* rgb */ color: rgb(44, 75, 188); /* oklch */ color: oklch(46.3% 0.181 267.1);
Tailwind
colors: {
custom: {
50: '#7b7dd1',
500: '#2c4bbc',
950: '#000000',
},
}SCSS
$custom: #2c4bbc; $custom-light: #7b7dd1; $custom-dark: #000000;
JSON
{
"hex": "#2c4bbc",
"rgb": {
"r": 44,
"g": 75,
"b": 188
},
"hsl": {
"h": 227.083,
"s": 62.069,
"l": 45.49
},
"oklch": {
"l": 0.46256,
"c": 0.18125,
"h": 267.1
},
"luminance": 0.09198
}Semantic roles & 50–950 ramp
primary
#2C4BBC
secondary
#CAB979
accent
#C243E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83