#2F6DC6#2F6DC6
#2F6DC6 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.2% C 0.153 H 258.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6DC6 |
|---|---|
| RGB | rgb(47, 109, 198) |
| HSL | hsl(215, 62%, 48%) |
| HSV | hsv(215, 76%, 78%) |
| CMYK | cmyk(76.3%, 44.9%, 0%, 22.4%) |
| CIE-LAB | lab(46.47, 11.51, -52.10) |
| CIE-LCH | lch(46.47, 53.36, 282.46°) |
| OKLab | oklab(54.19% -0.0319 -0.1493) |
| OKLCH | oklch(54.19% 0.153 258) |
| XYZ | xyz(16.8302, 15.6169, 55.5425) |
| Luminance | 0.1562 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.01
Mid Blue
#276AB3
ΔE00 2.94
French Blue
#436BAD
ΔE00 3.29
Flat Blue
#3C73A8
ΔE00 4.06
Windows Blue
#3778BF
ΔE00 4.20
Cerulean Blue
#056EEE
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6DC6 #C6882F
analogous
#2FB9C6 #2F6DC6 #3C2FC6
triadic
#2F6DC6 #C62F6D #6DC62F
tetradic
#2F6DC6 #C62FB9 #C6882F #2FC63C
square
#2F6DC6 #C62FB9 #C6882F #2FC63C
split-complementary
#2F6DC6 #C63C2F #B9C62F
monochromatic
#183763 #235295 #2F6DC6 #5A8ED8 #8CB0E4
Accessibility & contrast
On white
5.09
#2F6DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#2F6DC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6DC6
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6DC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6DC6 | 1.00 | 5.09 | 4.12 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F76C9
Deuteranopia (green-blind)
#1E68C4
Tritanopia (blue-blind)
#008290
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2f6dc6; /* rgb */ color: rgb(47, 109, 198); /* oklch */ color: oklch(54.2% 0.153 258.0);
Tailwind
colors: {
custom: {
50: '#7d96d8',
500: '#2f6dc6',
950: '#000000',
},
}SCSS
$custom: #2f6dc6; $custom-light: #7d96d8; $custom-dark: #000000;
JSON
{
"hex": "#2f6dc6",
"rgb": {
"r": 47,
"g": 109,
"b": 198
},
"hsl": {
"h": 215.364,
"s": 61.633,
"l": 48.039
},
"oklch": {
"l": 0.5419,
"c": 0.15271,
"h": 258
},
"luminance": 0.15619
}Semantic roles & 50–950 ramp
primary
#2F6DC6
secondary
#CEAF83
accent
#A243E5
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83