#2C4FB9#2C4FB9
#2C4FB9 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.172 H 266.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4FB9 |
|---|---|
| RGB | rgb(44, 79, 185) |
| HSL | hsl(225, 62%, 45%) |
| HSV | hsv(225, 76%, 73%) |
| CMYK | cmyk(76.2%, 57.3%, 0%, 27.5%) |
| CIE-LAB | lab(37.17, 25.70, -59.57) |
| CIE-LCH | lch(37.17, 64.88, 293.33°) |
| OKLab | oklab(46.79% -0.0121 -0.1719) |
| OKLCH | oklch(46.79% 0.172 266) |
| XYZ | xyz(12.5886, 9.6288, 47.0846) |
| Luminance | 0.0963 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.68
Cobalt
#0047AB
ΔE00 3.92
Blue Blue
#2242C7
ΔE00 4.56
Blue (survey)
#0343DF
ΔE00 5.89
Cobalt (survey)
#1E488F
ΔE00 6.40
Warm Blue
#4B57DB
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4FB9 #B9962C
analogous
#2C96B9 #2C4FB9 #4F2CB9
triadic
#2C4FB9 #B92C4F #4FB92C
tetradic
#2C4FB9 #B92C96 #B9962C #2CB94F
square
#2C4FB9 #B92C96 #B9962C #2CB94F
split-complementary
#2C4FB9 #B94F2C #96B92C
monochromatic
#142556 #203A88 #2C4FB9 #4D6FD5 #7F97E1
Accessibility & contrast
On white
7.18
#2C4FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#2C4FB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4FB9
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4FB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4FB9 | 1.00 | 7.18 | 2.93 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #2c4fb9; /* rgb */ color: rgb(44, 79, 185); /* oklch */ color: oklch(46.8% 0.172 266.0);
Tailwind
colors: {
custom: {
50: '#7a7fcf',
500: '#2c4fb9',
950: '#000000',
},
}SCSS
$custom: #2c4fb9; $custom-light: #7a7fcf; $custom-dark: #000000;
JSON
{
"hex": "#2c4fb9",
"rgb": {
"r": 44,
"g": 79,
"b": 185
},
"hsl": {
"h": 225.106,
"s": 61.572,
"l": 44.902
},
"oklch": {
"l": 0.46785,
"c": 0.17235,
"h": 266
},
"luminance": 0.0963
}Semantic roles & 50–950 ramp
primary
#2C4FB9
secondary
#C9B578
accent
#BD43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82