#2F54BF#2F54BF
#2F54BF is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.4% C 0.173 H 265.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2F54BF |
|---|---|
| RGB | rgb(47, 84, 191) |
| HSL | hsl(225, 61%, 47%) |
| HSV | hsv(225, 75%, 75%) |
| CMYK | cmyk(75.4%, 56%, 0%, 25.1%) |
| CIE-LAB | lab(39.08, 25.02, -59.97) |
| CIE-LCH | lch(39.08, 64.98, 292.65°) |
| OKLab | oklab(48.4% -0.013 -0.173) |
| OKLCH | oklch(48.4% 0.173 265.7) |
| XYZ | xyz(13.7433, 10.7051, 50.6221) |
| Luminance | 0.1071 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.61
Cobalt
#0047AB
ΔE00 5.33
Warm Blue
#4B57DB
ΔE00 5.66
Denim
#1560BD
ΔE00 5.70
Blue Blue
#2242C7
ΔE00 5.74
Azul
#1D5DEC
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F54BF #BF9A2F
analogous
#2F9CBF #2F54BF #522FBF
triadic
#2F54BF #BF2F54 #54BF2F
tetradic
#2F54BF #BF2F9C #BF9A2F #2FBF52
square
#2F54BF #BF2F9C #BF9A2F #2FBF52
split-complementary
#2F54BF #BF522F #9CBF2F
monochromatic
#17295D #233E8E #2F54BF #5677D5 #879EE1
Accessibility & contrast
On white
6.68
#2F54BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#2F54BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F54BF
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F54BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F54BF | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2f54bf; /* rgb */ color: rgb(47, 84, 191); /* oklch */ color: oklch(48.4% 0.173 265.7);
Tailwind
colors: {
custom: {
50: '#7c83d3',
500: '#2f54bf',
950: '#000000',
},
}SCSS
$custom: #2f54bf; $custom-light: #7c83d3; $custom-dark: #000000;
JSON
{
"hex": "#2f54bf",
"rgb": {
"r": 47,
"g": 84,
"b": 191
},
"hsl": {
"h": 224.583,
"s": 60.504,
"l": 46.667
},
"oklch": {
"l": 0.48399,
"c": 0.17346,
"h": 265.7
},
"luminance": 0.10707
}Semantic roles & 50–950 ramp
primary
#2F54BF
secondary
#CBB77F
accent
#BB44E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83