#2F8CB6#2F8CB6
#2F8CB6 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.5% C 0.106 H 232.2°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8CB6 |
|---|---|
| RGB | rgb(47, 140, 182) |
| HSL | hsl(199, 59%, 45%) |
| HSV | hsv(199, 74%, 71%) |
| CMYK | cmyk(74.2%, 23.1%, 0%, 28.6%) |
| CIE-LAB | lab(54.80, -12.86, -29.76) |
| CIE-LCH | lch(54.80, 32.42, 246.62°) |
| OKLab | oklab(60.47% -0.065 -0.0837) |
| OKLCH | oklch(60.47% 0.106 232.2) |
| XYZ | xyz(18.9905, 22.7357, 47.6345) |
| Luminance | 0.2274 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 5.31
Water Blue
#0E87CC
ΔE00 5.92
Steel Blue
#4682B4
ΔE00 6.30
Cool Blue
#4984B8
ΔE00 6.49
Cerulean
#007BA7
ΔE00 6.59
Dusty Blue
#5A86AD
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8CB6 #B6592F
analogous
#2FB69D #2F8CB6 #2F48B6
triadic
#2F8CB6 #B62F8C #8CB62F
tetradic
#2F8CB6 #9D2FB6 #B6592F #48B62F
square
#2F8CB6 #9D2FB6 #B6592F #48B62F
split-complementary
#2F8CB6 #B62F48 #B69D2F
monochromatic
#164155 #226785 #2F8CB6 #50AAD2 #81C1DE
Accessibility & contrast
On white
3.79
#2F8CB6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.55
#2F8CB6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8CB6
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8CB6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8CB6 | 1.00 | 3.79 | 5.55 | 5.55 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#778AB8
Deuteranopia (green-blind)
#657DB5
Tritanopia (blue-blind)
#00979A
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #2f8cb6; /* rgb */ color: rgb(47, 140, 182); /* oklch */ color: oklch(60.5% 0.106 232.2);
Tailwind
colors: {
custom: {
50: '#7aadcc',
500: '#2f8cb6',
950: '#000000',
},
}SCSS
$custom: #2f8cb6; $custom-light: #7aadcc; $custom-dark: #000000;
JSON
{
"hex": "#2f8cb6",
"rgb": {
"r": 47,
"g": 140,
"b": 182
},
"hsl": {
"h": 198.667,
"s": 58.952,
"l": 44.902
},
"oklch": {
"l": 0.6047,
"c": 0.10598,
"h": 232.2
},
"luminance": 0.22738
}Semantic roles & 50–950 ramp
primary
#2F8CB6
secondary
#C79279
accent
#7646E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0B1013
muted
#7C7F82