#2F6CC5#2F6CC5
#2F6CC5 is a mid, vivid blue. Relative luminance 0.154; OKLCH L 53.9% C 0.153 H 258.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6CC5 |
|---|---|
| RGB | rgb(47, 108, 197) |
| HSL | hsl(216, 61%, 48%) |
| HSV | hsv(216, 76%, 77%) |
| CMYK | cmyk(76.1%, 45.2%, 0%, 22.7%) |
| CIE-LAB | lab(46.12, 11.77, -52.08) |
| CIE-LCH | lch(46.12, 53.39, 282.74°) |
| OKLab | oklab(53.9% -0.0312 -0.1493) |
| OKLCH | oklch(53.9% 0.153 258.2) |
| XYZ | xyz(16.6092, 15.3588, 54.9017) |
| Luminance | 0.1536 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 2.16
Mid Blue
#276AB3
ΔE00 2.81
French Blue
#436BAD
ΔE00 3.10
Flat Blue
#3C73A8
ΔE00 4.21
Denim
#1560BD
ΔE00 4.33
Cerulean Blue
#056EEE
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6CC5 #C5882F
analogous
#2FB7C5 #2F6CC5 #3D2FC5
triadic
#2F6CC5 #C52F6C #6CC52F
tetradic
#2F6CC5 #C52FB7 #C5882F #2FC53D
square
#2F6CC5 #C52FB7 #C5882F #2FC53D
split-complementary
#2F6CC5 #C53D2F #B7C52F
monochromatic
#173662 #235194 #2F6CC5 #5A8DD8 #8BAFE3
Accessibility & contrast
On white
5.16
#2F6CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#2F6CC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6CC5
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6CC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6CC5 | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E75C8
Deuteranopia (green-blind)
#1D67C3
Tritanopia (blue-blind)
#00818F
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2f6cc5; /* rgb */ color: rgb(47, 108, 197); /* oklch */ color: oklch(53.9% 0.153 258.2);
Tailwind
colors: {
custom: {
50: '#7d95d7',
500: '#2f6cc5',
950: '#000000',
},
}SCSS
$custom: #2f6cc5; $custom-light: #7d95d7; $custom-dark: #000000;
JSON
{
"hex": "#2f6cc5",
"rgb": {
"r": 47,
"g": 108,
"b": 197
},
"hsl": {
"h": 215.6,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.53903,
"c": 0.15254,
"h": 258.2
},
"luminance": 0.15361
}Semantic roles & 50–950 ramp
primary
#2F6CC5
secondary
#CDAF82
accent
#A343E5
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83