#2C4FA8#2C4FA8
#2C4FA8 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.4% C 0.149 H 264.9°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4FA8 |
|---|---|
| RGB | rgb(44, 79, 168) |
| HSL | hsl(223, 58%, 42%) |
| HSV | hsv(223, 74%, 66%) |
| CMYK | cmyk(73.8%, 53%, 0%, 34.1%) |
| CIE-LAB | lab(35.89, 19.24, -51.57) |
| CIE-LCH | lch(35.89, 55.05, 290.46°) |
| OKLab | oklab(45.42% -0.0133 -0.1484) |
| OKLCH | oklch(45.42% 0.149 264.9) |
| XYZ | xyz(10.9001, 8.9534, 38.1919) |
| Luminance | 0.0896 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.92
Cobalt
#0047AB
ΔE00 3.11
Cobalt (survey)
#1E488F
ΔE00 4.22
Dusk Blue
#26538D
ΔE00 4.76
Denim Blue
#3B5B92
ΔE00 5.13
Blue Blue
#2242C7
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4FA8 #A8852C
analogous
#2C8DA8 #2C4FA8 #472CA8
triadic
#2C4FA8 #A82C4F #4FA82C
tetradic
#2C4FA8 #A82C8D #A8852C #2CA847
square
#2C4FA8 #A82C8D #A8852C #2CA847
split-complementary
#2C4FA8 #A8472C #8DA82C
monochromatic
#132147 #1F3878 #2C4FA8 #436ACE #7491DB
Accessibility & contrast
On white
7.52
#2C4FA8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#2C4FA8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4FA8
7.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4FA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4FA8 | 1.00 | 7.52 | 2.79 | 7.52 |
| #FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#125AAB
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2c4fa8; /* rgb */ color: rgb(44, 79, 168); /* oklch */ color: oklch(45.4% 0.149 264.9);
Tailwind
colors: {
custom: {
50: '#767fc2',
500: '#2c4fa8',
950: '#000000',
},
}SCSS
$custom: #2c4fa8; $custom-light: #767fc2; $custom-dark: #000000;
JSON
{
"hex": "#2c4fa8",
"rgb": {
"r": 44,
"g": 79,
"b": 168
},
"hsl": {
"h": 223.065,
"s": 58.491,
"l": 41.569
},
"oklch": {
"l": 0.45422,
"c": 0.149,
"h": 264.9
},
"luminance": 0.08955
}Semantic roles & 50–950 ramp
primary
#2C4FA8
secondary
#C2AA6E
accent
#B646E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A12
muted
#7C7C81