#2F54D3#2F54D3
#2F54D3 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.1% C 0.200 H 266.5°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2F54D3 |
|---|---|
| RGB | rgb(47, 84, 211) |
| HSL | hsl(226, 65%, 51%) |
| HSV | hsv(226, 78%, 83%) |
| CMYK | cmyk(77.7%, 60.2%, 0%, 17.3%) |
| CIE-LAB | lab(40.65, 32.46, -69.00) |
| CIE-LCH | lch(40.65, 76.25, 295.19°) |
| OKLab | oklab(50.06% -0.0123 -0.1995) |
| OKLCH | oklch(50.06% 0.2 266.5) |
| XYZ | xyz(16.0964, 11.6463, 63.0150) |
| Luminance | 0.1165 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.50
Azul
#1D5DEC
ΔE00 4.21
Sapphire
#0F52BA
ΔE00 4.74
Electric Blue
#0652FF
ΔE00 5.04
Blue (survey)
#0343DF
ΔE00 5.07
Blue Blue
#2242C7
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F54D3 #D3AE2F
analogous
#2FA6D3 #2F54D3 #5C2FD3
triadic
#2F54D3 #D32F54 #54D32F
tetradic
#2F54D3 #D32FA6 #D3AE2F #2FD35C
square
#2F54D3 #D32FA6 #D3AE2F #2FD35C
split-complementary
#2F54D3 #D35C2F #A6D32F
monochromatic
#182C70 #223FA2 #2F54D3 #627EDE #94A7E8
Accessibility & contrast
On white
6.31
#2F54D3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#2F54D3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F54D3
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F54D3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F54D3 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#0058D1
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2f54d3; /* rgb */ color: rgb(47, 84, 211); /* oklch */ color: oklch(50.1% 0.200 266.5);
Tailwind
colors: {
custom: {
50: '#8183e1',
500: '#2f54d3',
950: '#000000',
},
}SCSS
$custom: #2f54d3; $custom-light: #8183e1; $custom-dark: #000000;
JSON
{
"hex": "#2f54d3",
"rgb": {
"r": 47,
"g": 84,
"b": 211
},
"hsl": {
"h": 226.463,
"s": 65.079,
"l": 50.588
},
"oklch": {
"l": 0.50063,
"c": 0.19985,
"h": 266.5
},
"luminance": 0.11648
}Semantic roles & 50–950 ramp
primary
#2F54D3
secondary
#D3C38A
accent
#C240E8
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83