#2F6FD1#2F6FD1
#2F6FD1 is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.4% C 0.165 H 259.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6FD1 |
|---|---|
| RGB | rgb(47, 111, 209) |
| HSL | hsl(216, 64%, 50%) |
| HSV | hsv(216, 78%, 82%) |
| CMYK | cmyk(77.5%, 46.9%, 0%, 18%) |
| CIE-LAB | lab(47.72, 14.39, -56.39) |
| CIE-LCH | lch(47.72, 58.20, 284.31°) |
| OKLab | oklab(55.38% -0.0316 -0.1619) |
| OKLCH | oklch(55.38% 0.165 259) |
| XYZ | xyz(18.3611, 16.5745, 62.5407) |
| Luminance | 0.1658 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cerulean Blue
#056EEE
ΔE00 2.96
Medium Blue
#2C6FBB
ΔE00 3.04
Windows Blue
#3778BF
ΔE00 4.02
Mid Blue
#276AB3
ΔE00 4.35
French Blue
#436BAD
ΔE00 4.39
Royal Blue
#4169E1
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6FD1 #D1912F
analogous
#2FC0D1 #2F6FD1 #402FD1
triadic
#2F6FD1 #D12F6F #6FD12F
tetradic
#2F6FD1 #D12FC0 #D1912F #2FD140
square
#2F6FD1 #D12FC0 #D1912F #2FD140
split-complementary
#2F6FD1 #D1402F #C0D12F
monochromatic
#183A6D #2354A0 #2F6FD1 #6192DC #93B4E7
Accessibility & contrast
On white
4.87
#2F6FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#2F6FD1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6FD1
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6FD1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6FD1 | 1.00 | 4.87 | 4.32 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3979D5
Deuteranopia (green-blind)
#066ACF
Tritanopia (blue-blind)
#008696
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #2f6fd1; /* rgb */ color: rgb(47, 111, 209); /* oklch */ color: oklch(55.4% 0.165 259.0);
Tailwind
colors: {
custom: {
50: '#7f97e0',
500: '#2f6fd1',
950: '#000000',
},
}SCSS
$custom: #2f6fd1; $custom-light: #7f97e0; $custom-dark: #000000;
JSON
{
"hex": "#2f6fd1",
"rgb": {
"r": 47,
"g": 111,
"b": 209
},
"hsl": {
"h": 216.296,
"s": 63.78,
"l": 50.196
},
"oklch": {
"l": 0.55376,
"c": 0.16498,
"h": 259
},
"luminance": 0.16577
}Semantic roles & 50–950 ramp
primary
#2F6FD1
secondary
#D2B58A
accent
#A541E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83