#2C479A#2C479A
#2C479A is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.6% C 0.139 H 266.8°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #2C479A |
|---|---|
| RGB | rgb(44, 71, 154) |
| HSL | hsl(225, 56%, 39%) |
| HSV | hsv(225, 71%, 60%) |
| CMYK | cmyk(71.4%, 53.9%, 0%, 39.6%) |
| CIE-LAB | lab(32.64, 19.26, -48.42) |
| CIE-LCH | lch(32.64, 52.11, 291.69°) |
| OKLab | oklab(42.64% -0.0078 -0.1393) |
| OKLCH | oklch(42.64% 0.139 266.8) |
| XYZ | xyz(9.1227, 7.3741, 31.5082) |
| Luminance | 0.0737 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.99
Cobalt
#0047AB
ΔE00 3.26
Blueberry
#464196
ΔE00 5.60
Darkish Blue
#014182
ΔE00 5.60
Sapphire
#0F52BA
ΔE00 5.70
Sapphire (survey)
#2138AB
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C479A #9A7F2C
analogous
#2C7E9A #2C479A #482C9A
triadic
#2C479A #9A2C47 #479A2C
tetradic
#2C479A #9A2C7E #9A7F2C #2C9A48
square
#2C479A #9A2C7E #9A7F2C #2C9A48
split-complementary
#2C479A #9A482C #7E9A2C
monochromatic
#111B3B #1E316A #2C479A #3C5EC7 #6C85D5
Accessibility & contrast
On white
8.48
#2C479A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#2C479A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C479A
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C479A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C479A | 1.00 | 8.48 | 2.47 | 8.48 |
| #FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D529D
Deuteranopia (green-blind)
#004898
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2c479a; /* rgb */ color: rgb(44, 71, 154); /* oklch */ color: oklch(42.6% 0.139 266.8);
Tailwind
colors: {
custom: {
50: '#7479b8',
500: '#2c479a',
950: '#000000',
},
}SCSS
$custom: #2c479a; $custom-light: #7479b8; $custom-dark: #000000;
JSON
{
"hex": "#2c479a",
"rgb": {
"r": 44,
"g": 71,
"b": 154
},
"hsl": {
"h": 225.273,
"s": 55.556,
"l": 38.824
},
"oklch": {
"l": 0.42637,
"c": 0.13947,
"h": 266.8
},
"luminance": 0.07375
}Semantic roles & 50–950 ramp
primary
#2C479A
secondary
#BCA766
accent
#BA49DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80