#2F4FA4#2F4FA4
#2F4FA4 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.3% C 0.142 H 265.5°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4FA4 |
|---|---|
| RGB | rgb(47, 79, 164) |
| HSL | hsl(224, 55%, 41%) |
| HSV | hsv(224, 71%, 64%) |
| CMYK | cmyk(71.3%, 51.8%, 0%, 35.7%) |
| CIE-LAB | lab(35.74, 18.14, -49.42) |
| CIE-LCH | lch(35.74, 52.65, 290.16°) |
| OKLab | oklab(45.25% -0.0112 -0.142) |
| OKLCH | oklch(45.25% 0.142 265.5) |
| XYZ | xyz(10.6668, 8.8755, 36.2658) |
| Luminance | 0.0888 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.38
Sapphire
#0F52BA
ΔE00 3.46
Cobalt (survey)
#1E488F
ΔE00 3.95
Dusk Blue
#26538D
ΔE00 4.58
Denim Blue
#3B5B92
ΔE00 4.88
Light Navy Blue
#2E5A88
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4FA4 #A4842F
analogous
#2F8AA4 #2F4FA4 #4A2FA4
triadic
#2F4FA4 #A42F4F #4FA42F
tetradic
#2F4FA4 #A42F8A #A4842F #2FA44A
square
#2F4FA4 #A42F8A #A4842F #2FA44A
split-complementary
#2F4FA4 #A44A2F #8AA42F
monochromatic
#142145 #213874 #2F4FA4 #466ACA #7691D8
Accessibility & contrast
On white
7.57
#2F4FA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#2F4FA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4FA4
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4FA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4FA4 | 1.00 | 7.57 | 2.78 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A5AA7
Deuteranopia (green-blind)
#004FA2
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2f4fa4; /* rgb */ color: rgb(47, 79, 164); /* oklch */ color: oklch(45.3% 0.142 265.5);
Tailwind
colors: {
custom: {
50: '#777fc0',
500: '#2f4fa4',
950: '#000000',
},
}SCSS
$custom: #2f4fa4; $custom-light: #777fc0; $custom-dark: #000000;
JSON
{
"hex": "#2f4fa4",
"rgb": {
"r": 47,
"g": 79,
"b": 164
},
"hsl": {
"h": 223.59,
"s": 55.45,
"l": 41.373
},
"oklch": {
"l": 0.45254,
"c": 0.14245,
"h": 265.5
},
"luminance": 0.08877
}Semantic roles & 50–950 ramp
primary
#2F4FA4
secondary
#C0AA6F
accent
#B649DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81