#2C4FBB#2C4FBB
#2C4FBB is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.175 H 266.1°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4FBB |
|---|---|
| RGB | rgb(44, 79, 187) |
| HSL | hsl(225, 62%, 45%) |
| HSV | hsv(225, 76%, 73%) |
| CMYK | cmyk(76.5%, 57.8%, 0%, 26.7%) |
| CIE-LAB | lab(37.32, 26.45, -60.49) |
| CIE-LCH | lch(37.32, 66.02, 293.62°) |
| OKLab | oklab(46.95% -0.012 -0.1746) |
| OKLCH | oklch(46.95% 0.175 266.1) |
| XYZ | xyz(12.8012, 9.7139, 48.2044) |
| Luminance | 0.0972 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.78
Cobalt
#0047AB
ΔE00 4.11
Blue Blue
#2242C7
ΔE00 4.41
Blue (survey)
#0343DF
ΔE00 5.66
Warm Blue
#4B57DB
ΔE00 6.42
Cobalt (survey)
#1E488F
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4FBB #BB982C
analogous
#2C96BB #2C4FBB #512CBB
triadic
#2C4FBB #BB2C4F #4FBB2C
tetradic
#2C4FBB #BB2C96 #BB982C #2CBB51
square
#2C4FBB #BB2C96 #BB982C #2CBB51
split-complementary
#2C4FBB #BB512C #96BB2C
monochromatic
#152558 #203A89 #2C4FBB #4F70D6 #8098E1
Accessibility & contrast
On white
7.14
#2C4FBB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#2C4FBB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4FBB
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4FBB | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2c4fbb; /* rgb */ color: rgb(44, 79, 187); /* oklch */ color: oklch(46.9% 0.175 266.1);
Tailwind
colors: {
custom: {
50: '#7b7fd0',
500: '#2c4fbb',
950: '#000000',
},
}SCSS
$custom: #2c4fbb; $custom-light: #7b7fd0; $custom-dark: #000000;
JSON
{
"hex": "#2c4fbb",
"rgb": {
"r": 44,
"g": 79,
"b": 187
},
"hsl": {
"h": 225.315,
"s": 61.905,
"l": 45.294
},
"oklch": {
"l": 0.4695,
"c": 0.17503,
"h": 266.1
},
"luminance": 0.09715
}Semantic roles & 50–950 ramp
primary
#2C4FBB
secondary
#CAB679
accent
#BD43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82