#2B479C#2B479C
#2B479C is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.7% C 0.143 H 266.6°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2B479C |
|---|---|
| RGB | rgb(43, 71, 156) |
| HSL | hsl(225, 57%, 39%) |
| HSV | hsv(225, 72%, 61%) |
| CMYK | cmyk(72.4%, 54.5%, 0%, 38.8%) |
| CIE-LAB | lab(32.74, 19.87, -49.47) |
| CIE-LCH | lch(32.74, 53.31, 291.89°) |
| OKLab | oklab(42.75% -0.0086 -0.1424) |
| OKLCH | oklch(42.75% 0.143 266.6) |
| XYZ | xyz(9.2482, 7.4194, 32.3907) |
| Luminance | 0.0742 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.01
Cobalt (survey)
#1E488F
ΔE00 3.10
Sapphire
#0F52BA
ΔE00 5.49
Sapphire (survey)
#2138AB
ΔE00 5.54
Blueberry
#464196
ΔE00 5.68
Darkish Blue
#014182
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B479C #9C802B
analogous
#2B809C #2B479C #482B9C
triadic
#2B479C #9C2B47 #479C2B
tetradic
#2B479C #9C2B80 #9C802B #2B9C48
square
#2B479C #9C2B80 #9C802B #2B9C48
split-complementary
#2B479C #9C482B #809C2B
monochromatic
#111B3C #1E316C #2B479C #3B5EC9 #6B86D6
Accessibility & contrast
On white
8.45
#2B479C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#2B479C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B479C
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B479C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B479C | 1.00 | 8.45 | 2.48 | 8.45 |
| #FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#06529F
Deuteranopia (green-blind)
#00489A
Tritanopia (blue-blind)
#005C6A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2b479c; /* rgb */ color: rgb(43, 71, 156); /* oklch */ color: oklch(42.7% 0.143 266.6);
Tailwind
colors: {
custom: {
50: '#7479ba',
500: '#2b479c',
950: '#000000',
},
}SCSS
$custom: #2b479c; $custom-light: #7479ba; $custom-dark: #000000;
JSON
{
"hex": "#2b479c",
"rgb": {
"r": 43,
"g": 71,
"b": 156
},
"hsl": {
"h": 225.133,
"s": 56.784,
"l": 39.02
},
"oklch": {
"l": 0.42746,
"c": 0.14263,
"h": 266.6
},
"luminance": 0.0742
}Semantic roles & 50–950 ramp
primary
#2B479C
secondary
#BDA766
accent
#BA48E0
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81