#2F6DC4#2F6DC4
#2F6DC4 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.1% C 0.150 H 257.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6DC4 |
|---|---|
| RGB | rgb(47, 109, 196) |
| HSL | hsl(215, 61%, 48%) |
| HSV | hsv(215, 76%, 77%) |
| CMYK | cmyk(76%, 44.4%, 0%, 23.1%) |
| CIE-LAB | lab(46.35, 10.76, -51.15) |
| CIE-LCH | lch(46.35, 52.27, 281.88°) |
| OKLab | oklab(54.06% -0.0322 -0.1465) |
| OKLCH | oklch(54.06% 0.15 257.6) |
| XYZ | xyz(16.6011, 15.5252, 54.3356) |
| Luminance | 0.1553 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.79
Mid Blue
#276AB3
ΔE00 2.71
French Blue
#436BAD
ΔE00 3.18
Flat Blue
#3C73A8
ΔE00 3.89
Windows Blue
#3778BF
ΔE00 4.15
Cerulean Blue
#056EEE
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6DC4 #C4862F
analogous
#2FB7C4 #2F6DC4 #3C2FC4
triadic
#2F6DC4 #C42F6D #6DC42F
tetradic
#2F6DC4 #C42FB7 #C4862F #2FC43C
square
#2F6DC4 #C42FB7 #C4862F #2FC43C
split-complementary
#2F6DC4 #C43C2F #B7C42F
monochromatic
#173661 #235293 #2F6DC4 #598ED7 #8AAFE3
Accessibility & contrast
On white
5.12
#2F6DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#2F6DC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6DC4
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6DC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6DC4 | 1.00 | 5.12 | 4.11 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4175C7
Deuteranopia (green-blind)
#2267C2
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2f6dc4; /* rgb */ color: rgb(47, 109, 196); /* oklch */ color: oklch(54.1% 0.150 257.6);
Tailwind
colors: {
custom: {
50: '#7c96d6',
500: '#2f6dc4',
950: '#000000',
},
}SCSS
$custom: #2f6dc4; $custom-light: #7c96d6; $custom-dark: #000000;
JSON
{
"hex": "#2f6dc4",
"rgb": {
"r": 47,
"g": 109,
"b": 196
},
"hsl": {
"h": 215.034,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.54056,
"c": 0.15005,
"h": 257.6
},
"luminance": 0.15527
}Semantic roles & 50–950 ramp
primary
#2F6DC4
secondary
#CDAE82
accent
#A143E4
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83