#2F5FA4#2F5FA4
#2F5FA4 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 48.8% C 0.123 H 257.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5FA4 |
|---|---|
| RGB | rgb(47, 95, 164) |
| HSL | hsl(215, 55%, 41%) |
| HSV | hsv(215, 71%, 64%) |
| CMYK | cmyk(71.3%, 42.1%, 0%, 35.7%) |
| CIE-LAB | lab(40.36, 7.65, -42.02) |
| CIE-LCH | lch(40.36, 42.71, 280.32°) |
| OKLab | oklab(48.8% -0.0261 -0.12) |
| OKLCH | oklch(48.8% 0.123 257.7) |
| XYZ | xyz(11.9629, 11.4678, 36.6978) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.84
Denim Blue
#3B5B92
ΔE00 3.20
Denim (survey)
#3B638C
ΔE00 3.60
Light Navy Blue
#2E5A88
ΔE00 3.83
Mid Blue
#276AB3
ΔE00 4.48
Dusky Blue
#475F94
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5FA4 #A4742F
analogous
#2F9AA4 #2F5FA4 #3A2FA4
triadic
#2F5FA4 #A42F5F #5FA42F
tetradic
#2F5FA4 #A42F9A #A4742F #2FA43A
square
#2F5FA4 #A42F9A #A4742F #2FA43A
split-complementary
#2F5FA4 #A43A2F #9AA42F
monochromatic
#142845 #214374 #2F5FA4 #467CCA #769ED8
Accessibility & contrast
On white
6.38
#2F5FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#2F5FA4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5FA4
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5FA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5FA4 | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E65A7
Deuteranopia (green-blind)
#2B5AA3
Tritanopia (blue-blind)
#006F79
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #2f5fa4; /* rgb */ color: rgb(47, 95, 164); /* oklch */ color: oklch(48.8% 0.123 257.7);
Tailwind
colors: {
custom: {
50: '#768bbf',
500: '#2f5fa4',
950: '#000000',
},
}SCSS
$custom: #2f5fa4; $custom-light: #768bbf; $custom-dark: #000000;
JSON
{
"hex": "#2f5fa4",
"rgb": {
"r": 47,
"g": 95,
"b": 164
},
"hsl": {
"h": 215.385,
"s": 55.45,
"l": 41.373
},
"oklch": {
"l": 0.48797,
"c": 0.12276,
"h": 257.7
},
"luminance": 0.11469
}Semantic roles & 50–950 ramp
primary
#2F5FA4
secondary
#C09F6F
accent
#A149DF
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0C12
muted
#7C7D81