#2F6CC6#2F6CC6
#2F6CC6 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 54.0% C 0.154 H 258.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6CC6 |
|---|---|
| RGB | rgb(47, 108, 198) |
| HSL | hsl(216, 62%, 48%) |
| HSV | hsv(216, 76%, 78%) |
| CMYK | cmyk(76.3%, 45.5%, 0%, 22.4%) |
| CIE-LAB | lab(46.18, 12.15, -52.56) |
| CIE-LCH | lch(46.18, 53.94, 283.01°) |
| OKLab | oklab(53.97% -0.031 -0.1507) |
| OKLCH | oklch(53.97% 0.154 258.4) |
| XYZ | xyz(16.7242, 15.4048, 55.5071) |
| Luminance | 0.1541 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.26
Mid Blue
#276AB3
ΔE00 2.94
French Blue
#436BAD
ΔE00 3.16
Cerulean Blue
#056EEE
ΔE00 4.28
Flat Blue
#3C73A8
ΔE00 4.29
Denim
#1560BD
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6CC6 #C6892F
analogous
#2FB7C6 #2F6CC6 #3E2FC6
triadic
#2F6CC6 #C62F6C #6CC62F
tetradic
#2F6CC6 #C62FB7 #C6892F #2FC63E
square
#2F6CC6 #C62FB7 #C6892F #2FC63E
split-complementary
#2F6CC6 #C63E2F #B7C62F
monochromatic
#183663 #235195 #2F6CC6 #5A8DD8 #8CAFE4
Accessibility & contrast
On white
5.15
#2F6CC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#2F6CC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6CC6
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6CC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6CC6 | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D75C9
Deuteranopia (green-blind)
#1B67C4
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2f6cc6; /* rgb */ color: rgb(47, 108, 198); /* oklch */ color: oklch(54.0% 0.154 258.4);
Tailwind
colors: {
custom: {
50: '#7d95d8',
500: '#2f6cc6',
950: '#000000',
},
}SCSS
$custom: #2f6cc6; $custom-light: #7d95d8; $custom-dark: #000000;
JSON
{
"hex": "#2f6cc6",
"rgb": {
"r": 47,
"g": 108,
"b": 198
},
"hsl": {
"h": 215.762,
"s": 61.633,
"l": 48.039
},
"oklch": {
"l": 0.5397,
"c": 0.15387,
"h": 258.4
},
"luminance": 0.15407
}Semantic roles & 50–950 ramp
primary
#2F6CC6
secondary
#CEB083
accent
#A343E5
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83