#2C4FAC#2C4FAC
#2C4FAC is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.155 H 265.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4FAC |
|---|---|
| RGB | rgb(44, 79, 172) |
| HSL | hsl(224, 59%, 42%) |
| HSV | hsv(224, 74%, 67%) |
| CMYK | cmyk(74.4%, 54.1%, 0%, 32.5%) |
| CIE-LAB | lab(36.19, 20.76, -53.49) |
| CIE-LCH | lch(36.19, 57.37, 291.22°) |
| OKLab | oklab(45.74% -0.013 -0.154) |
| OKLCH | oklch(45.74% 0.155 265.2) |
| XYZ | xyz(11.2785, 9.1048, 40.1847) |
| Luminance | 0.0911 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.69
Cobalt
#0047AB
ΔE00 3.15
Cobalt (survey)
#1E488F
ΔE00 4.72
Dusk Blue
#26538D
ΔE00 5.23
Denim Blue
#3B5B92
ΔE00 5.46
Blue Blue
#2242C7
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4FAC #AC892C
analogous
#2C8FAC #2C4FAC #492CAC
triadic
#2C4FAC #AC2C4F #4FAC2C
tetradic
#2C4FAC #AC2C8F #AC892C #2CAC49
square
#2C4FAC #AC2C8F #AC892C #2CAC49
split-complementary
#2C4FAC #AC492C #8FAC2C
monochromatic
#13224B #20397B #2C4FAC #466BD0 #7692DC
Accessibility & contrast
On white
7.44
#2C4FAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#2C4FAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4FAC
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4FAC | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#055BAF
Deuteranopia (green-blind)
#004FAA
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2c4fac; /* rgb */ color: rgb(44, 79, 172); /* oklch */ color: oklch(45.7% 0.155 265.2);
Tailwind
colors: {
custom: {
50: '#777fc5',
500: '#2c4fac',
950: '#000000',
},
}SCSS
$custom: #2c4fac; $custom-light: #777fc5; $custom-dark: #000000;
JSON
{
"hex": "#2c4fac",
"rgb": {
"r": 44,
"g": 79,
"b": 172
},
"hsl": {
"h": 223.594,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.45735,
"c": 0.15457,
"h": 265.2
},
"luminance": 0.09106
}Semantic roles & 50–950 ramp
primary
#2C4FAC
secondary
#C4AD70
accent
#B745E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82