#2C4FAF#2C4FAF
#2C4FAF is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.0% C 0.159 H 265.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4FAF |
|---|---|
| RGB | rgb(44, 79, 175) |
| HSL | hsl(224, 60%, 43%) |
| HSV | hsv(224, 75%, 69%) |
| CMYK | cmyk(74.9%, 54.9%, 0%, 31.4%) |
| CIE-LAB | lab(36.41, 21.91, -54.91) |
| CIE-LCH | lch(36.41, 59.12, 291.75°) |
| OKLab | oklab(45.97% -0.0127 -0.1582) |
| OKLCH | oklch(45.97% 0.159 265.4) |
| XYZ | xyz(11.5698, 9.2213, 41.7193) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.57
Cobalt
#0047AB
ΔE00 3.25
Cobalt (survey)
#1E488F
ΔE00 5.10
Blue Blue
#2242C7
ΔE00 5.48
Dusk Blue
#26538D
ΔE00 5.59
Denim Blue
#3B5B92
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4FAF #AF8C2C
analogous
#2C91AF #2C4FAF #4A2CAF
triadic
#2C4FAF #AF2C4F #4FAF2C
tetradic
#2C4FAF #AF2C91 #AF8C2C #2CAF4A
square
#2C4FAF #AF2C91 #AF8C2C #2CAF4A
split-complementary
#2C4FAF #AF4A2C #91AF2C
monochromatic
#13234D #20397E #2C4FAF #476CD1 #7893DD
Accessibility & contrast
On white
7.38
#2C4FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#2C4FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4FAF
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4FAF | 1.00 | 7.38 | 2.84 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2c4faf; /* rgb */ color: rgb(44, 79, 175); /* oklch */ color: oklch(46.0% 0.159 265.4);
Tailwind
colors: {
custom: {
50: '#787fc8',
500: '#2c4faf',
950: '#000000',
},
}SCSS
$custom: #2c4faf; $custom-light: #787fc8; $custom-dark: #000000;
JSON
{
"hex": "#2c4faf",
"rgb": {
"r": 44,
"g": 79,
"b": 175
},
"hsl": {
"h": 223.969,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.45972,
"c": 0.15871,
"h": 265.4
},
"luminance": 0.09223
}Semantic roles & 50–950 ramp
primary
#2C4FAF
secondary
#C5AF72
accent
#B945E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82