#2F4BA5#2F4BA5
#2F4BA5 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.5% C 0.149 H 267.1°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4BA5 |
|---|---|
| RGB | rgb(47, 75, 165) |
| HSL | hsl(226, 56%, 42%) |
| HSV | hsv(226, 72%, 65%) |
| CMYK | cmyk(71.5%, 54.5%, 0%, 35.3%) |
| CIE-LAB | lab(34.71, 21.18, -51.70) |
| CIE-LCH | lch(34.71, 55.87, 292.28°) |
| OKLab | oklab(44.49% -0.0076 -0.1488) |
| OKLCH | oklch(44.49% 0.149 267.1) |
| XYZ | xyz(10.4775, 8.3520, 36.6499) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.97
Cobalt (survey)
#1E488F
ΔE00 4.09
Sapphire
#0F52BA
ΔE00 4.21
Blue Blue
#2242C7
ΔE00 5.61
Dusk Blue
#26538D
ΔE00 5.68
Sapphire (survey)
#2138AB
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4BA5 #A5892F
analogous
#2F86A5 #2F4BA5 #4E2FA5
triadic
#2F4BA5 #A52F4B #4BA52F
tetradic
#2F4BA5 #A52F86 #A5892F #2FA54E
square
#2F4BA5 #A52F86 #A5892F #2FA54E
split-complementary
#2F4BA5 #A54E2F #86A52F
monochromatic
#142046 #213575 #2F4BA5 #4766CB #768ED8
Accessibility & contrast
On white
7.86
#2F4BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#2F4BA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4BA5
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4BA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4BA5 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0457A8
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#006170
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #2f4ba5; /* rgb */ color: rgb(47, 75, 165); /* oklch */ color: oklch(44.5% 0.149 267.1);
Tailwind
colors: {
custom: {
50: '#777cc0',
500: '#2f4ba5',
950: '#000000',
},
}SCSS
$custom: #2f4ba5; $custom-light: #777cc0; $custom-dark: #000000;
JSON
{
"hex": "#2f4ba5",
"rgb": {
"r": 47,
"g": 75,
"b": 165
},
"hsl": {
"h": 225.763,
"s": 55.66,
"l": 41.569
},
"oklch": {
"l": 0.44491,
"c": 0.14897,
"h": 267.1
},
"luminance": 0.08353
}Semantic roles & 50–950 ramp
primary
#2F4BA5
secondary
#C0AD70
accent
#BB49DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81