#2F54BC#2F54BC
#2F54BC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.2% C 0.169 H 265.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2F54BC |
|---|---|
| RGB | rgb(47, 84, 188) |
| HSL | hsl(224, 60%, 46%) |
| HSV | hsv(224, 75%, 74%) |
| CMYK | cmyk(75%, 55.3%, 0%, 26.3%) |
| CIE-LAB | lab(38.85, 23.90, -58.59) |
| CIE-LCH | lch(38.85, 63.27, 292.19°) |
| OKLab | oklab(48.16% -0.0132 -0.1689) |
| OKLCH | oklch(48.16% 0.169 265.5) |
| XYZ | xyz(13.4165, 10.5744, 48.9012) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 2.39
Cobalt
#0047AB
ΔE00 5.10
Denim
#1560BD
ΔE00 5.58
Blue Blue
#2242C7
ΔE00 5.89
Denim Blue
#3B5B92
ΔE00 6.02
Warm Blue
#4B57DB
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F54BC #BC972F
analogous
#2F9ABC #2F54BC #502FBC
triadic
#2F54BC #BC2F54 #54BC2F
tetradic
#2F54BC #BC2F9A #BC972F #2FBC50
square
#2F54BC #BC2F9A #BC972F #2FBC50
split-complementary
#2F54BC #BC502F #9ABC2F
monochromatic
#17285A #233E8B #2F54BC #5476D4 #859DE0
Accessibility & contrast
On white
6.74
#2F54BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#2F54BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F54BC
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F54BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F54BC | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2f54bc; /* rgb */ color: rgb(47, 84, 188); /* oklch */ color: oklch(48.2% 0.169 265.5);
Tailwind
colors: {
custom: {
50: '#7c83d1',
500: '#2f54bc',
950: '#000000',
},
}SCSS
$custom: #2f54bc; $custom-light: #7c83d1; $custom-dark: #000000;
JSON
{
"hex": "#2f54bc",
"rgb": {
"r": 47,
"g": 84,
"b": 188
},
"hsl": {
"h": 224.255,
"s": 60,
"l": 46.078
},
"oklch": {
"l": 0.48159,
"c": 0.16939,
"h": 265.5
},
"luminance": 0.10576
}Semantic roles & 50–950 ramp
primary
#2F54BC
secondary
#CAB67D
accent
#BA45E3
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A14
muted
#7C7C82