#2F6CB5#2F6CB5
#2F6CB5 is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 52.9% C 0.131 H 254.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2F6CB5 |
|---|---|
| RGB | rgb(47, 108, 181) |
| HSL | hsl(213, 59%, 45%) |
| HSV | hsv(213, 74%, 71%) |
| CMYK | cmyk(74%, 40.3%, 0%, 29%) |
| CIE-LAB | lab(45.17, 5.77, -44.34) |
| CIE-LCH | lch(45.17, 44.71, 277.41°) |
| OKLab | oklab(52.86% -0.0345 -0.1265) |
| OKLCH | oklch(52.86% 0.131 254.7) |
| XYZ | xyz(14.8723, 14.6640, 45.7537) |
| Luminance | 0.1467 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Mid Blue
#276AB3
ΔE00 1.02
Medium Blue
#2C6FBB
ΔE00 1.29
French Blue
#436BAD
ΔE00 2.86
Flat Blue
#3C73A8
ΔE00 3.08
Muted Blue
#3B719F
ΔE00 3.64
Bluish
#2976BB
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F6CB5 #B5782F
analogous
#2FAFB5 #2F6CB5 #352FB5
triadic
#2F6CB5 #B52F6C #6CB52F
tetradic
#2F6CB5 #B52FAF #B5782F #2FB535
square
#2F6CB5 #B52FAF #B5782F #2FB535
split-complementary
#2F6CB5 #B5352F #AFB52F
monochromatic
#163254 #224F84 #2F6CB5 #508BD1 #80ABDE
Accessibility & contrast
On white
5.34
#2F6CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#2F6CB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F6CB5
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F6CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F6CB5 | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4972B8
Deuteranopia (green-blind)
#3465B4
Tritanopia (blue-blind)
#007D88
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #2f6cb5; /* rgb */ color: rgb(47, 108, 181); /* oklch */ color: oklch(52.9% 0.131 254.7);
Tailwind
colors: {
custom: {
50: '#7995cb',
500: '#2f6cb5',
950: '#000000',
},
}SCSS
$custom: #2f6cb5; $custom-light: #7995cb; $custom-dark: #000000;
JSON
{
"hex": "#2f6cb5",
"rgb": {
"r": 47,
"g": 108,
"b": 181
},
"hsl": {
"h": 212.687,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.52858,
"c": 0.13117,
"h": 254.7
},
"luminance": 0.14666
}Semantic roles & 50–950 ramp
primary
#2F6CB5
secondary
#C7A379
accent
#9B46E2
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0A0D13
muted
#7C7E82