#2F4FA9#2F4FA9
#2F4FA9 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.6% C 0.149 H 265.9°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4FA9 |
|---|---|
| RGB | rgb(47, 79, 169) |
| HSL | hsl(224, 56%, 42%) |
| HSV | hsv(224, 72%, 66%) |
| CMYK | cmyk(72.2%, 53.3%, 0%, 33.7%) |
| CIE-LAB | lab(36.10, 20.03, -51.83) |
| CIE-LCH | lch(36.10, 55.57, 291.13°) |
| OKLab | oklab(45.64% -0.0107 -0.1491) |
| OKLCH | oklch(45.64% 0.149 265.9) |
| XYZ | xyz(11.1272, 9.0597, 38.6907) |
| Luminance | 0.0906 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.11
Cobalt
#0047AB
ΔE00 3.33
Cobalt (survey)
#1E488F
ΔE00 4.54
Dusk Blue
#26538D
ΔE00 5.13
Denim Blue
#3B5B92
ΔE00 5.27
Blue Blue
#2242C7
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4FA9 #A9892F
analogous
#2F8CA9 #2F4FA9 #4C2FA9
triadic
#2F4FA9 #A92F4F #4FA92F
tetradic
#2F4FA9 #A92F8C #A9892F #2FA94C
square
#2F4FA9 #A92F8C #A9892F #2FA94C
split-complementary
#2F4FA9 #A94C2F #8CA92F
monochromatic
#142249 #223979 #2F4FA9 #496BCC #7992DA
Accessibility & contrast
On white
7.47
#2F4FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#2F4FA9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4FA9
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4FA9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4FA9 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#105BAC
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#006574
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #2f4fa9; /* rgb */ color: rgb(47, 79, 169); /* oklch */ color: oklch(45.6% 0.149 265.9);
Tailwind
colors: {
custom: {
50: '#787fc3',
500: '#2f4fa9',
950: '#000000',
},
}SCSS
$custom: #2f4fa9; $custom-light: #787fc3; $custom-dark: #000000;
JSON
{
"hex": "#2f4fa9",
"rgb": {
"r": 47,
"g": 79,
"b": 169
},
"hsl": {
"h": 224.262,
"s": 56.481,
"l": 42.353
},
"oklch": {
"l": 0.45636,
"c": 0.14949,
"h": 265.9
},
"luminance": 0.09061
}Semantic roles & 50–950 ramp
primary
#2F4FA9
secondary
#C2AD72
accent
#B848E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82