#2F6CC2#2F6CC2
#2F6CC2 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 53.7% C 0.149 H 257.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6CC2 |
|---|---|
| RGB | rgb(47, 108, 194) |
| HSL | hsl(215, 61%, 47%) |
| HSV | hsv(215, 76%, 76%) |
| CMYK | cmyk(75.8%, 44.3%, 0%, 23.9%) |
| CIE-LAB | lab(45.94, 10.64, -50.65) |
| CIE-LCH | lch(45.94, 51.75, 281.87°) |
| OKLab | oklab(53.7% -0.0318 -0.1451) |
| OKLCH | oklch(53.7% 0.149 257.6) |
| XYZ | xyz(16.2689, 15.2226, 53.1093) |
| Luminance | 0.1522 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Medium Blue
#2C6FBB
ΔE00 1.87
Mid Blue
#276AB3
ΔE00 2.45
French Blue
#436BAD
ΔE00 2.94
Flat Blue
#3C73A8
ΔE00 3.97
Denim
#1560BD
ΔE00 4.22
Windows Blue
#3778BF
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6CC2 #C2852F
analogous
#2FB6C2 #2F6CC2 #3B2FC2
triadic
#2F6CC2 #C22F6C #6CC22F
tetradic
#2F6CC2 #C22FB6 #C2852F #2FC23B
square
#2F6CC2 #C22FB6 #C2852F #2FC23B
split-complementary
#2F6CC2 #C23B2F #B6C22F
monochromatic
#17355F #235191 #2F6CC2 #588CD6 #89AEE2
Accessibility & contrast
On white
5.19
#2F6CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#2F6CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6CC2
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6CC2 | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4074C5
Deuteranopia (green-blind)
#2367C0
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2f6cc2; /* rgb */ color: rgb(47, 108, 194); /* oklch */ color: oklch(53.7% 0.149 257.6);
Tailwind
colors: {
custom: {
50: '#7c95d5',
500: '#2f6cc2',
950: '#000000',
},
}SCSS
$custom: #2f6cc2; $custom-light: #7c95d5; $custom-dark: #000000;
JSON
{
"hex": "#2f6cc2",
"rgb": {
"r": 47,
"g": 108,
"b": 194
},
"hsl": {
"h": 215.102,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.53701,
"c": 0.14853,
"h": 257.6
},
"luminance": 0.15225
}Semantic roles & 50–950 ramp
primary
#2F6CC2
secondary
#CCAD81
accent
#A244E4
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83