#2F4CA3#2F4CA3
#2F4CA3 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.5% C 0.145 H 266.6°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4CA3 |
|---|---|
| RGB | rgb(47, 76, 163) |
| HSL | hsl(225, 55%, 41%) |
| HSV | hsv(225, 71%, 64%) |
| CMYK | cmyk(71.2%, 53.4%, 0%, 36.1%) |
| CIE-LAB | lab(34.84, 19.76, -50.29) |
| CIE-LCH | lch(34.84, 54.03, 291.45°) |
| OKLab | oklab(44.54% -0.0086 -0.1446) |
| OKLCH | oklch(44.54% 0.145 266.6) |
| XYZ | xyz(10.3653, 8.4165, 35.7215) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.05
Cobalt (survey)
#1E488F
ΔE00 3.79
Sapphire
#0F52BA
ΔE00 4.11
Dusk Blue
#26538D
ΔE00 5.22
Denim Blue
#3B5B92
ΔE00 5.74
Blue Blue
#2242C7
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4CA3 #A3862F
analogous
#2F86A3 #2F4CA3 #4C2FA3
triadic
#2F4CA3 #A32F4C #4CA32F
tetradic
#2F4CA3 #A32F86 #A3862F #2FA34C
square
#2F4CA3 #A32F86 #A3862F #2FA34C
split-complementary
#2F4CA3 #A34C2F #86A32F
monochromatic
#142044 #213673 #2F4CA3 #4667CA #758ED7
Accessibility & contrast
On white
7.83
#2F4CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#2F4CA3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4CA3
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4CA3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4CA3 | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1057A6
Deuteranopia (green-blind)
#004DA1
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2f4ca3; /* rgb */ color: rgb(47, 76, 163); /* oklch */ color: oklch(44.5% 0.145 266.6);
Tailwind
colors: {
custom: {
50: '#767dbf',
500: '#2f4ca3',
950: '#000000',
},
}SCSS
$custom: #2f4ca3; $custom-light: #767dbf; $custom-dark: #000000;
JSON
{
"hex": "#2f4ca3",
"rgb": {
"r": 47,
"g": 76,
"b": 163
},
"hsl": {
"h": 225,
"s": 55.238,
"l": 41.176
},
"oklch": {
"l": 0.44543,
"c": 0.14488,
"h": 266.6
},
"luminance": 0.08418
}Semantic roles & 50–950 ramp
primary
#2F4CA3
secondary
#BFAB6F
accent
#B949DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81