#2F6FCC#2F6FCC
#2F6FCC is a mid, vivid blue. Relative luminance 0.163; OKLCH L 55.0% C 0.158 H 258.2°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6FCC |
|---|---|
| RGB | rgb(47, 111, 204) |
| HSL | hsl(216, 63%, 49%) |
| HSV | hsv(216, 77%, 80%) |
| CMYK | cmyk(77%, 45.6%, 0%, 20%) |
| CIE-LAB | lab(47.41, 12.51, -54.04) |
| CIE-LCH | lch(47.41, 55.47, 283.03°) |
| OKLab | oklab(55.03% -0.0324 -0.155) |
| OKLCH | oklch(55.03% 0.158 258.2) |
| XYZ | xyz(17.7518, 16.3308, 59.3316) |
| Luminance | 0.1633 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.41
Cerulean Blue
#056EEE
ΔE00 3.51
Windows Blue
#3778BF
ΔE00 3.72
Mid Blue
#276AB3
ΔE00 3.77
French Blue
#436BAD
ΔE00 4.01
Flat Blue
#3C73A8
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6FCC #CC8C2F
analogous
#2FBECC #2F6FCC #3D2FCC
triadic
#2F6FCC #CC2F6F #6FCC2F
tetradic
#2F6FCC #CC2FBE #CC8C2F #2FCC3D
square
#2F6FCC #CC2FBE #CC8C2F #2FCC3D
split-complementary
#2F6FCC #CC3D2F #BECC2F
monochromatic
#183969 #24549A #2F6FCC #5E91DA #90B3E5
Accessibility & contrast
On white
4.92
#2F6FCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#2F6FCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6FCC
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6FCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6FCC | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E78D0
Deuteranopia (green-blind)
#196ACA
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #2f6fcc; /* rgb */ color: rgb(47, 111, 204); /* oklch */ color: oklch(55.0% 0.158 258.2);
Tailwind
colors: {
custom: {
50: '#7e97dc',
500: '#2f6fcc',
950: '#000000',
},
}SCSS
$custom: #2f6fcc; $custom-light: #7e97dc; $custom-dark: #000000;
JSON
{
"hex": "#2f6fcc",
"rgb": {
"r": 47,
"g": 111,
"b": 204
},
"hsl": {
"h": 215.541,
"s": 62.55,
"l": 49.216
},
"oklch": {
"l": 0.55033,
"c": 0.15837,
"h": 258.2
},
"luminance": 0.16333
}Semantic roles & 50–950 ramp
primary
#2F6FCC
secondary
#D0B287
accent
#A342E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0D15
muted
#7C7E83