#2F54C3#2F54C3
#2F54C3 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.7% C 0.179 H 265.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2F54C3 |
|---|---|
| RGB | rgb(47, 84, 195) |
| HSL | hsl(225, 61%, 47%) |
| HSV | hsv(225, 76%, 76%) |
| CMYK | cmyk(75.9%, 56.9%, 0%, 23.5%) |
| CIE-LAB | lab(39.38, 26.52, -61.81) |
| CIE-LCH | lch(39.38, 67.26, 293.22°) |
| OKLab | oklab(48.72% -0.0128 -0.1784) |
| OKLCH | oklch(48.72% 0.179 265.9) |
| XYZ | xyz(14.1895, 10.8835, 52.9721) |
| Luminance | 0.1089 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.96
Warm Blue
#4B57DB
ΔE00 5.18
Blue Blue
#2242C7
ΔE00 5.59
Cobalt
#0047AB
ΔE00 5.68
Azul
#1D5DEC
ΔE00 5.74
Denim
#1560BD
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F54C3 #C39E2F
analogous
#2F9EC3 #2F54C3 #542FC3
triadic
#2F54C3 #C32F54 #54C32F
tetradic
#2F54C3 #C32F9E #C39E2F #2FC354
square
#2F54C3 #C32F9E #C39E2F #2FC354
split-complementary
#2F54C3 #C3542F #9EC32F
monochromatic
#172A60 #233F92 #2F54C3 #5878D7 #8AA0E3
Accessibility & contrast
On white
6.61
#2F54C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#2F54C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F54C3
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F54C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F54C3 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C7
Deuteranopia (green-blind)
#0056C1
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #2f54c3; /* rgb */ color: rgb(47, 84, 195); /* oklch */ color: oklch(48.7% 0.179 265.9);
Tailwind
colors: {
custom: {
50: '#7d83d6',
500: '#2f54c3',
950: '#000000',
},
}SCSS
$custom: #2f54c3; $custom-light: #7d83d6; $custom-dark: #000000;
JSON
{
"hex": "#2f54c3",
"rgb": {
"r": 47,
"g": 84,
"b": 195
},
"hsl": {
"h": 225,
"s": 61.157,
"l": 47.451
},
"oklch": {
"l": 0.48724,
"c": 0.17882,
"h": 265.9
},
"luminance": 0.10885
}Semantic roles & 50–950 ramp
primary
#2F54C3
secondary
#CDBA81
accent
#BC44E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83