#2F8FAB#2F8FAB
#2F8FAB is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.7% C 0.096 H 221.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8FAB |
|---|---|
| RGB | rgb(47, 143, 171) |
| HSL | hsl(194, 57%, 43%) |
| HSV | hsv(194, 73%, 67%) |
| CMYK | cmyk(72.5%, 16.4%, 0%, 32.9%) |
| CIE-LAB | lab(55.26, -18.23, -22.75) |
| CIE-LCH | lch(55.26, 29.16, 231.29°) |
| OKLab | oklab(60.69% -0.0722 -0.0636) |
| OKLCH | oklch(60.69% 0.096 221.4) |
| XYZ | xyz(18.3424, 23.1874, 42.0291) |
| Luminance | 0.2319 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Teal Blue
#01889F
ΔE00 4.17
Dirty Blue
#3F829D
ΔE00 5.02
Ocean
#017B92
ΔE00 8.12
Cerulean
#007BA7
ΔE00 9.00
Greyish Blue
#5E819D
ΔE00 9.73
Dusty Blue
#5A86AD
ΔE00 9.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8FAB #AB4B2F
analogous
#2FAB89 #2F8FAB #2F51AB
triadic
#2F8FAB #AB2F8F #8FAB2F
tetradic
#2F8FAB #892FAB #AB4B2F #51AB2F
square
#2F8FAB #892FAB #AB4B2F #51AB2F
split-complementary
#2F8FAB #AB2F51 #AB892F
monochromatic
#153F4B #22677B #2F8FAB #4AB0CD #7AC5DA
Accessibility & contrast
On white
3.72
#2F8FAB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.64
#2F8FAB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8FAB
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8FAB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8FAB | 1.00 | 3.72 | 5.64 | 5.64 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E8BAC
Deuteranopia (green-blind)
#6D7FAB
Tritanopia (blue-blind)
#009898
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #2f8fab; /* rgb */ color: rgb(47, 143, 171); /* oklch */ color: oklch(60.7% 0.096 221.4);
Tailwind
colors: {
custom: {
50: '#79b0c4',
500: '#2f8fab',
950: '#000000',
},
}SCSS
$custom: #2f8fab; $custom-light: #79b0c4; $custom-dark: #000000;
JSON
{
"hex": "#2f8fab",
"rgb": {
"r": 47,
"g": 143,
"b": 171
},
"hsl": {
"h": 193.548,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.60693,
"c": 0.09618,
"h": 221.4
},
"luminance": 0.2319
}Semantic roles & 50–950 ramp
primary
#2F8FAB
secondary
#C38573
accent
#6A48E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81