#2C4FBC#2C4FBC
#2C4FBC is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.176 H 266.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4FBC |
|---|---|
| RGB | rgb(44, 79, 188) |
| HSL | hsl(225, 62%, 45%) |
| HSV | hsv(225, 77%, 74%) |
| CMYK | cmyk(76.6%, 58%, 0%, 26.3%) |
| CIE-LAB | lab(37.40, 26.83, -60.95) |
| CIE-LCH | lch(37.40, 66.59, 293.76°) |
| OKLab | oklab(47.03% -0.012 -0.176) |
| OKLCH | oklch(47.03% 0.176 266.1) |
| XYZ | xyz(12.9086, 9.7568, 48.7701) |
| Luminance | 0.0976 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.84
Cobalt
#0047AB
ΔE00 4.20
Blue Blue
#2242C7
ΔE00 4.34
Blue (survey)
#0343DF
ΔE00 5.55
Warm Blue
#4B57DB
ΔE00 6.30
Cobalt (survey)
#1E488F
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4FBC #BC992C
analogous
#2C97BC #2C4FBC #512CBC
triadic
#2C4FBC #BC2C4F #4FBC2C
tetradic
#2C4FBC #BC2C97 #BC992C #2CBC51
square
#2C4FBC #BC2C97 #BC992C #2CBC51
split-complementary
#2C4FBC #BC512C #97BC2C
monochromatic
#152559 #203A8A #2C4FBC #4F70D6 #8198E1
Accessibility & contrast
On white
7.11
#2C4FBC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#2C4FBC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4FBC
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4FBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4FBC | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2c4fbc; /* rgb */ color: rgb(44, 79, 188); /* oklch */ color: oklch(47.0% 0.176 266.1);
Tailwind
colors: {
custom: {
50: '#7b7fd1',
500: '#2c4fbc',
950: '#000000',
},
}SCSS
$custom: #2c4fbc; $custom-light: #7b7fd1; $custom-dark: #000000;
JSON
{
"hex": "#2c4fbc",
"rgb": {
"r": 44,
"g": 79,
"b": 188
},
"hsl": {
"h": 225.417,
"s": 62.069,
"l": 45.49
},
"oklch": {
"l": 0.47034,
"c": 0.17638,
"h": 266.1
},
"luminance": 0.09758
}Semantic roles & 50–950 ramp
primary
#2C4FBC
secondary
#CAB779
accent
#BE43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82