#2F97B8#2F97B8
#2F97B8 is a light, moderate cyan. Relative luminance 0.262; OKLCH L 63.2% C 0.104 H 223.6°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2F97B8 |
|---|---|
| RGB | rgb(47, 151, 184) |
| HSL | hsl(194, 59%, 45%) |
| HSV | hsv(194, 74%, 72%) |
| CMYK | cmyk(74.5%, 17.9%, 0%, 27.8%) |
| CIE-LAB | lab(58.22, -18.20, -25.60) |
| CIE-LCH | lch(58.22, 31.41, 234.60°) |
| OKLab | oklab(63.24% -0.0751 -0.0717) |
| OKLCH | oklch(63.24% 0.104 223.6) |
| XYZ | xyz(20.8871, 26.1958, 49.2936) |
| Luminance | 0.2620 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Teal Blue
#01889F
ΔE00 6.96
Dirty Blue
#3F829D
ΔE00 7.47
Greyblue
#77A1B5
ΔE00 8.57
Turquoise Blue
#06B1C4
ΔE00 9.99
Dusty Blue
#5A86AD
ΔE00 10.14
Off Blue
#5684AE
ΔE00 10.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F97B8 #B8502F
analogous
#2FB895 #2F97B8 #2F52B8
triadic
#2F97B8 #B82F97 #97B82F
tetradic
#2F97B8 #952FB8 #B8502F #52B82F
square
#2F97B8 #952FB8 #B8502F #52B82F
split-complementary
#2F97B8 #B82F52 #B8952F
monochromatic
#164757 #236F87 #2F97B8 #52B4D3 #82C9DF
Accessibility & contrast
On white
3.37
#2F97B8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.24
#2F97B8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F97B8
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F97B8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F97B8 | 1.00 | 3.37 | 6.24 | 6.24 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8494BA
Deuteranopia (green-blind)
#7286B8
Tritanopia (blue-blind)
#00A1A2
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #2f97b8; /* rgb */ color: rgb(47, 151, 184); /* oklch */ color: oklch(63.2% 0.104 223.6);
Tailwind
colors: {
custom: {
50: '#7bb5cd',
500: '#2f97b8',
950: '#000000',
},
}SCSS
$custom: #2f97b8; $custom-light: #7bb5cd; $custom-dark: #000000;
JSON
{
"hex": "#2f97b8",
"rgb": {
"r": 47,
"g": 151,
"b": 184
},
"hsl": {
"h": 194.453,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.63235,
"c": 0.10385,
"h": 223.6
},
"luminance": 0.26198
}Semantic roles & 50–950 ramp
primary
#2F97B8
secondary
#C88D7B
accent
#6B45E2
background
#F8FBFC
surface
#EFF6F9
border
#CAD0D2
text
#0B1113
muted
#7C8082