#2F6DC5#2F6DC5
#2F6DC5 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.1% C 0.151 H 257.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6DC5 |
|---|---|
| RGB | rgb(47, 109, 197) |
| HSL | hsl(215, 61%, 48%) |
| HSV | hsv(215, 76%, 77%) |
| CMYK | cmyk(76.1%, 44.7%, 0%, 22.7%) |
| CIE-LAB | lab(46.41, 11.14, -51.62) |
| CIE-LCH | lch(46.41, 52.81, 282.18°) |
| OKLab | oklab(54.12% -0.0321 -0.1479) |
| OKLCH | oklch(54.12% 0.151 257.8) |
| XYZ | xyz(16.7153, 15.5709, 54.9370) |
| Luminance | 0.1557 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.90
Mid Blue
#276AB3
ΔE00 2.82
French Blue
#436BAD
ΔE00 3.23
Flat Blue
#3C73A8
ΔE00 3.98
Windows Blue
#3778BF
ΔE00 4.17
Cerulean Blue
#056EEE
ΔE00 4.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6DC5 #C5872F
analogous
#2FB8C5 #2F6DC5 #3C2FC5
triadic
#2F6DC5 #C52F6D #6DC52F
tetradic
#2F6DC5 #C52FB8 #C5872F #2FC53C
square
#2F6DC5 #C52FB8 #C5872F #2FC53C
split-complementary
#2F6DC5 #C53C2F #B8C52F
monochromatic
#173662 #235294 #2F6DC5 #5A8ED8 #8BB0E3
Accessibility & contrast
On white
5.10
#2F6DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#2F6DC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6DC5
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6DC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6DC5 | 1.00 | 5.10 | 4.11 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4075C8
Deuteranopia (green-blind)
#2068C3
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2f6dc5; /* rgb */ color: rgb(47, 109, 197); /* oklch */ color: oklch(54.1% 0.151 257.8);
Tailwind
colors: {
custom: {
50: '#7d96d7',
500: '#2f6dc5',
950: '#000000',
},
}SCSS
$custom: #2f6dc5; $custom-light: #7d96d7; $custom-dark: #000000;
JSON
{
"hex": "#2f6dc5",
"rgb": {
"r": 47,
"g": 109,
"b": 197
},
"hsl": {
"h": 215.2,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.54123,
"c": 0.15138,
"h": 257.8
},
"luminance": 0.15573
}Semantic roles & 50–950 ramp
primary
#2F6DC5
secondary
#CDAE82
accent
#A243E5
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83