#2F4FA0#2F4FA0
#2F4FA0 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 45.0% C 0.137 H 265.1°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2F4FA0 |
|---|---|
| RGB | rgb(47, 79, 160) |
| HSL | hsl(223, 55%, 41%) |
| HSV | hsv(223, 71%, 63%) |
| CMYK | cmyk(70.6%, 50.6%, 0%, 37.3%) |
| CIE-LAB | lab(35.47, 16.63, -47.47) |
| CIE-LCH | lch(35.47, 50.30, 289.31°) |
| OKLab | oklab(44.95% -0.0116 -0.1363) |
| OKLCH | oklch(44.95% 0.137 265.1) |
| XYZ | xyz(10.3112, 8.7333, 34.3932) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.52
Cobalt
#0047AB
ΔE00 3.53
Sapphire
#0F52BA
ΔE00 3.81
Dusk Blue
#26538D
ΔE00 4.15
Denim Blue
#3B5B92
ΔE00 4.60
Light Navy Blue
#2E5A88
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F4FA0 #A0802F
analogous
#2F87A0 #2F4FA0 #482FA0
triadic
#2F4FA0 #A02F4F #4FA02F
tetradic
#2F4FA0 #A02F87 #A0802F #2FA048
square
#2F4FA0 #A02F87 #A0802F #2FA048
split-complementary
#2F4FA0 #A0482F #87A02F
monochromatic
#132041 #213871 #2F4FA0 #4469C8 #738FD6
Accessibility & contrast
On white
7.65
#2F4FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2F4FA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F4FA0
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F4FA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F4FA0 | 1.00 | 7.65 | 2.75 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2059A3
Deuteranopia (green-blind)
#004F9E
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #2f4fa0; /* rgb */ color: rgb(47, 79, 160); /* oklch */ color: oklch(45.0% 0.137 265.1);
Tailwind
colors: {
custom: {
50: '#767fbd',
500: '#2f4fa0',
950: '#000000',
},
}SCSS
$custom: #2f4fa0; $custom-light: #767fbd; $custom-dark: #000000;
JSON
{
"hex": "#2f4fa0",
"rgb": {
"r": 47,
"g": 79,
"b": 160
},
"hsl": {
"h": 223.009,
"s": 54.589,
"l": 40.588
},
"oklch": {
"l": 0.44954,
"c": 0.13678,
"h": 265.1
},
"luminance": 0.08734
}Semantic roles & 50–950 ramp
primary
#2F4FA0
secondary
#BEA76D
accent
#B44ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81