#2C4FA4#2C4FA4
#2C4FA4 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.143 H 264.5°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4FA4 |
|---|---|
| RGB | rgb(44, 79, 164) |
| HSL | hsl(223, 58%, 41%) |
| HSV | hsv(223, 73%, 64%) |
| CMYK | cmyk(73.2%, 51.8%, 0%, 35.7%) |
| CIE-LAB | lab(35.61, 17.71, -49.65) |
| CIE-LCH | lch(35.61, 52.71, 289.63°) |
| OKLab | oklab(45.12% -0.0138 -0.1427) |
| OKLCH | oklch(45.12% 0.143 264.5) |
| XYZ | xyz(10.5332, 8.8067, 36.2595) |
| Luminance | 0.0881 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.17
Sapphire
#0F52BA
ΔE00 3.24
Cobalt (survey)
#1E488F
ΔE00 3.75
Dusk Blue
#26538D
ΔE00 4.30
Denim Blue
#3B5B92
ΔE00 4.83
Light Navy Blue
#2E5A88
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4FA4 #A4812C
analogous
#2C8BA4 #2C4FA4 #452CA4
triadic
#2C4FA4 #A42C4F #4FA42C
tetradic
#2C4FA4 #A42C8B #A4812C #2CA445
square
#2C4FA4 #A42C8B #A4812C #2CA445
split-complementary
#2C4FA4 #A4452C #8BA42C
monochromatic
#122143 #1F3874 #2C4FA4 #416ACC #7190D9
Accessibility & contrast
On white
7.60
#2C4FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2C4FA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4FA4
7.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4FA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4FA4 | 1.00 | 7.60 | 2.76 | 7.60 |
| #FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A5AA7
Deuteranopia (green-blind)
#004FA2
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2c4fa4; /* rgb */ color: rgb(44, 79, 164); /* oklch */ color: oklch(45.1% 0.143 264.5);
Tailwind
colors: {
custom: {
50: '#757fc0',
500: '#2c4fa4',
950: '#000000',
},
}SCSS
$custom: #2c4fa4; $custom-light: #757fc0; $custom-dark: #000000;
JSON
{
"hex": "#2c4fa4",
"rgb": {
"r": 44,
"g": 79,
"b": 164
},
"hsl": {
"h": 222.5,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.45115,
"c": 0.14339,
"h": 264.5
},
"luminance": 0.08808
}Semantic roles & 50–950 ramp
primary
#2C4FA4
secondary
#C0A86B
accent
#B447E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81