#2C4F9F#2C4F9F
#2C4F9F is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.7% C 0.136 H 263.9°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2C4F9F |
|---|---|
| RGB | rgb(44, 79, 159) |
| HSL | hsl(222, 57%, 40%) |
| HSV | hsv(222, 72%, 62%) |
| CMYK | cmyk(72.3%, 50.3%, 0%, 37.6%) |
| CIE-LAB | lab(35.26, 15.80, -47.21) |
| CIE-LCH | lch(35.26, 49.78, 288.50°) |
| OKLab | oklab(44.74% -0.0144 -0.1356) |
| OKLCH | oklch(44.74% 0.136 263.9) |
| XYZ | xyz(10.0905, 8.6296, 33.9281) |
| Luminance | 0.0863 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.22
Cobalt
#0047AB
ΔE00 3.40
Sapphire
#0F52BA
ΔE00 3.71
Dusk Blue
#26538D
ΔE00 3.75
Denim Blue
#3B5B92
ΔE00 4.50
Light Navy Blue
#2E5A88
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C4F9F #9F7C2C
analogous
#2C899F #2C4F9F #432C9F
triadic
#2C4F9F #9F2C4F #4F9F2C
tetradic
#2C4F9F #9F2C89 #9F7C2C #2C9F43
square
#2C4F9F #9F2C89 #9F7C2C #2C9F43
split-complementary
#2C4F9F #9F432C #899F2C
monochromatic
#111F3F #1F376F #2C4F9F #3E69CA #6E8ED7
Accessibility & contrast
On white
7.70
#2C4F9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#2C4F9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C4F9F
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C4F9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C4F9F | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2159A2
Deuteranopia (green-blind)
#004E9D
Tritanopia (blue-blind)
#00626F
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2c4f9f; /* rgb */ color: rgb(44, 79, 159); /* oklch */ color: oklch(44.7% 0.136 263.9);
Tailwind
colors: {
custom: {
50: '#747fbc',
500: '#2c4f9f',
950: '#000000',
},
}SCSS
$custom: #2c4f9f; $custom-light: #747fbc; $custom-dark: #000000;
JSON
{
"hex": "#2c4f9f",
"rgb": {
"r": 44,
"g": 79,
"b": 159
},
"hsl": {
"h": 221.739,
"s": 56.65,
"l": 39.804
},
"oklch": {
"l": 0.44738,
"c": 0.13632,
"h": 263.9
},
"luminance": 0.08631
}Semantic roles & 50–950 ramp
primary
#2C4F9F
secondary
#BEA469
accent
#B248E0
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81