#2C4FBD#2C4FBD
#2C4FBD is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.178 H 266.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4FBD |
|---|---|
| RGB | rgb(44, 79, 189) |
| HSL | hsl(226, 62%, 46%) |
| HSV | hsv(226, 77%, 74%) |
| CMYK | cmyk(76.7%, 58.2%, 0%, 25.9%) |
| CIE-LAB | lab(37.48, 27.20, -61.41) |
| CIE-LCH | lch(37.48, 67.16, 293.89°) |
| OKLab | oklab(47.12% -0.012 -0.1773) |
| OKLCH | oklch(47.12% 0.178 266.1) |
| XYZ | xyz(13.0168, 9.8001, 49.3398) |
| Luminance | 0.0980 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.90
Blue Blue
#2242C7
ΔE00 4.28
Cobalt
#0047AB
ΔE00 4.30
Blue (survey)
#0343DF
ΔE00 5.44
Warm Blue
#4B57DB
ΔE00 6.19
Cobalt (survey)
#1E488F
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4FBD #BD9A2C
analogous
#2C97BD #2C4FBD #512CBD
triadic
#2C4FBD #BD2C4F #4FBD2C
tetradic
#2C4FBD #BD2C97 #BD9A2C #2CBD51
square
#2C4FBD #BD2C97 #BD9A2C #2CBD51
split-complementary
#2C4FBD #BD512C #97BD2C
monochromatic
#15255A #203A8B #2C4FBD #5070D6 #8299E2
Accessibility & contrast
On white
7.09
#2C4FBD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#2C4FBD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4FBD
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4FBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4FBD | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #2c4fbd; /* rgb */ color: rgb(44, 79, 189); /* oklch */ color: oklch(47.1% 0.178 266.1);
Tailwind
colors: {
custom: {
50: '#7b7fd2',
500: '#2c4fbd',
950: '#000000',
},
}SCSS
$custom: #2c4fbd; $custom-light: #7b7fd2; $custom-dark: #000000;
JSON
{
"hex": "#2c4fbd",
"rgb": {
"r": 44,
"g": 79,
"b": 189
},
"hsl": {
"h": 225.517,
"s": 62.232,
"l": 45.686
},
"oklch": {
"l": 0.47118,
"c": 0.17772,
"h": 266.1
},
"luminance": 0.09802
}Semantic roles & 50–950 ramp
primary
#2C4FBD
secondary
#CBB77A
accent
#BE42E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83