#2F5FD3#2F5FD3
#2F5FD3 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.2% C 0.187 H 264.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5FD3 |
|---|---|
| RGB | rgb(47, 95, 211) |
| HSL | hsl(222, 65%, 51%) |
| HSV | hsv(222, 78%, 83%) |
| CMYK | cmyk(77.7%, 55%, 0%, 17.3%) |
| CIE-LAB | lab(43.49, 25.38, -64.37) |
| CIE-LCH | lch(43.49, 69.19, 291.52°) |
| OKLab | oklab(52.2% -0.0195 -0.1857) |
| OKLCH | oklch(52.2% 0.187 264) |
| XYZ | xyz(17.0182, 13.4899, 63.3223) |
| Luminance | 0.1349 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.96
Royal Blue
#4169E1
ΔE00 4.16
Denim
#1560BD
ΔE00 4.53
Warm Blue
#4B57DB
ΔE00 5.11
Bright Blue
#0165FC
ΔE00 5.11
Sapphire
#0F52BA
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5FD3 #D3A32F
analogous
#2FB1D3 #2F5FD3 #512FD3
triadic
#2F5FD3 #D32F5F #5FD32F
tetradic
#2F5FD3 #D32FB1 #D3A32F #2FD351
square
#2F5FD3 #D32FB1 #D3A32F #2FD351
split-complementary
#2F5FD3 #D3512F #B1D32F
monochromatic
#183270 #2248A2 #2F5FD3 #6286DE #94ADE8
Accessibility & contrast
On white
5.68
#2F5FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#2F5FD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F5FD3
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5FD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5FD3 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FD7
Deuteranopia (green-blind)
#0060D1
Tritanopia (blue-blind)
#007C90
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2f5fd3; /* rgb */ color: rgb(47, 95, 211); /* oklch */ color: oklch(52.2% 0.187 264.0);
Tailwind
colors: {
custom: {
50: '#808be1',
500: '#2f5fd3',
950: '#000000',
},
}SCSS
$custom: #2f5fd3; $custom-light: #808be1; $custom-dark: #000000;
JSON
{
"hex": "#2f5fd3",
"rgb": {
"r": 47,
"g": 95,
"b": 211
},
"hsl": {
"h": 222.439,
"s": 65.079,
"l": 50.588
},
"oklch": {
"l": 0.52196,
"c": 0.18672,
"h": 264
},
"luminance": 0.13492
}Semantic roles & 50–950 ramp
primary
#2F5FD3
secondary
#D3BE8A
accent
#B740E8
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83