#2C4FBF#2C4FBF
#2C4FBF is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.180 H 266.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4FBF |
|---|---|
| RGB | rgb(44, 79, 191) |
| HSL | hsl(226, 63%, 46%) |
| HSV | hsv(226, 77%, 75%) |
| CMYK | cmyk(77%, 58.6%, 0%, 25.1%) |
| CIE-LAB | lab(37.64, 27.96, -62.32) |
| CIE-LCH | lch(37.64, 68.30, 294.16°) |
| OKLab | oklab(47.29% -0.0119 -0.18) |
| OKLCH | oklch(47.29% 0.18 266.2) |
| XYZ | xyz(13.2354, 9.8875, 50.4911) |
| Luminance | 0.0989 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.04
Blue Blue
#2242C7
ΔE00 4.17
Cobalt
#0047AB
ΔE00 4.50
Blue (survey)
#0343DF
ΔE00 5.22
Warm Blue
#4B57DB
ΔE00 5.96
Ocean Blue
#4F42B5
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4FBF #BF9C2C
analogous
#2C98BF #2C4FBF #522CBF
triadic
#2C4FBF #BF2C4F #4FBF2C
tetradic
#2C4FBF #BF2C98 #BF9C2C #2CBF52
square
#2C4FBF #BF2C98 #BF9C2C #2CBF52
split-complementary
#2C4FBF #BF522C #98BF2C
monochromatic
#15265C #213A8D #2C4FBF #5171D7 #839AE2
Accessibility & contrast
On white
7.05
#2C4FBF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#2C4FBF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4FBF
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4FBF | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0052BD
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #2c4fbf; /* rgb */ color: rgb(44, 79, 191); /* oklch */ color: oklch(47.3% 0.180 266.2);
Tailwind
colors: {
custom: {
50: '#7c7fd3',
500: '#2c4fbf',
950: '#000000',
},
}SCSS
$custom: #2c4fbf; $custom-light: #7c7fd3; $custom-dark: #000000;
JSON
{
"hex": "#2c4fbf",
"rgb": {
"r": 44,
"g": 79,
"b": 191
},
"hsl": {
"h": 225.714,
"s": 62.553,
"l": 46.078
},
"oklch": {
"l": 0.47286,
"c": 0.18038,
"h": 266.2
},
"luminance": 0.09889
}Semantic roles & 50–950 ramp
primary
#2C4FBF
secondary
#CCB87B
accent
#BF42E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83