#2F8EB7#2F8EB7
#2F8EB7 is a mid, moderate cyan. Relative luminance 0.234; OKLCH L 61.0% C 0.106 H 231.1°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8EB7 |
|---|---|
| RGB | rgb(47, 142, 183) |
| HSL | hsl(198, 59%, 45%) |
| HSV | hsv(198, 74%, 72%) |
| CMYK | cmyk(74.3%, 22.4%, 0%, 28.2%) |
| CIE-LAB | lab(55.45, -13.63, -29.32) |
| CIE-LCH | lch(55.45, 32.34, 245.07°) |
| OKLab | oklab(61% -0.0666 -0.0824) |
| OKLCH | oklch(61% 0.106 231.1) |
| XYZ | xyz(19.3891, 23.3670, 48.2790) |
| Luminance | 0.2337 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 5.56
Water Blue
#0E87CC
ΔE00 6.58
Steel Blue
#4682B4
ΔE00 6.99
Dusty Blue
#5A86AD
ΔE00 7.10
Cool Blue
#4984B8
ΔE00 7.13
Cerulean
#007BA7
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8EB7 #B7582F
analogous
#2FB79C #2F8EB7 #2F4AB7
triadic
#2F8EB7 #B72F8E #8EB72F
tetradic
#2F8EB7 #9C2FB7 #B7582F #4AB72F
square
#2F8EB7 #9C2FB7 #B7582F #4AB72F
split-complementary
#2F8EB7 #B72F4A #B79C2F
monochromatic
#164256 #226886 #2F8EB7 #51ABD2 #82C3DF
Accessibility & contrast
On white
3.70
#2F8EB7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.67
#2F8EB7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8EB7
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8EB7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8EB7 | 1.00 | 3.70 | 5.67 | 5.67 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#798CB9
Deuteranopia (green-blind)
#677FB6
Tritanopia (blue-blind)
#00999C
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #2f8eb7; /* rgb */ color: rgb(47, 142, 183); /* oklch */ color: oklch(61.0% 0.106 231.1);
Tailwind
colors: {
custom: {
50: '#7bafcc',
500: '#2f8eb7',
950: '#000000',
},
}SCSS
$custom: #2f8eb7; $custom-light: #7bafcc; $custom-dark: #000000;
JSON
{
"hex": "#2f8eb7",
"rgb": {
"r": 47,
"g": 142,
"b": 183
},
"hsl": {
"h": 198.088,
"s": 59.13,
"l": 45.098
},
"oklch": {
"l": 0.61002,
"c": 0.10598,
"h": 231.1
},
"luminance": 0.23369
}Semantic roles & 50–950 ramp
primary
#2F8EB7
secondary
#C8917A
accent
#7545E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82