#2F8FB8#2F8FB8
#2F8FB8 is a mid, moderate cyan. Relative luminance 0.237; OKLCH L 61.3% C 0.106 H 230.8°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8FB8 |
|---|---|
| RGB | rgb(47, 143, 184) |
| HSL | hsl(198, 59%, 45%) |
| HSV | hsv(198, 74%, 72%) |
| CMYK | cmyk(74.5%, 22.3%, 0%, 27.8%) |
| CIE-LAB | lab(55.79, -13.84, -29.36) |
| CIE-LCH | lch(55.79, 32.46, 244.76°) |
| OKLab | oklab(61.29% -0.0672 -0.0825) |
| OKLCH | oklch(61.29% 0.106 230.8) |
| XYZ | xyz(19.6430, 23.7076, 48.8789) |
| Luminance | 0.2371 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dirty Blue
#3F829D
ΔE00 5.81
Water Blue
#0E87CC
ΔE00 6.77
Steel Blue
#4682B4
ΔE00 7.25
Dusty Blue
#5A86AD
ΔE00 7.27
Cool Blue
#4984B8
ΔE00 7.35
Off Blue
#5684AE
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8FB8 #B8582F
analogous
#2FB89C #2F8FB8 #2F4BB8
triadic
#2F8FB8 #B82F8F #8FB82F
tetradic
#2F8FB8 #9C2FB8 #B8582F #4BB82F
square
#2F8FB8 #9C2FB8 #B8582F #4BB82F
split-complementary
#2F8FB8 #B82F4B #B89C2F
monochromatic
#164357 #236987 #2F8FB8 #52ACD3 #82C3DF
Accessibility & contrast
On white
3.66
#2F8FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.74
#2F8FB8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8FB8
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8FB8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8FB8 | 1.00 | 3.66 | 5.74 | 5.74 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A8DBA
Deuteranopia (green-blind)
#6880B7
Tritanopia (blue-blind)
#009A9D
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #2f8fb8; /* rgb */ color: rgb(47, 143, 184); /* oklch */ color: oklch(61.3% 0.106 230.8);
Tailwind
colors: {
custom: {
50: '#7bafcd',
500: '#2f8fb8',
950: '#000000',
},
}SCSS
$custom: #2f8fb8; $custom-light: #7bafcd; $custom-dark: #000000;
JSON
{
"hex": "#2f8fb8",
"rgb": {
"r": 47,
"g": 143,
"b": 184
},
"hsl": {
"h": 197.956,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.61292,
"c": 0.10644,
"h": 230.8
},
"luminance": 0.2371
}Semantic roles & 50–950 ramp
primary
#2F8FB8
secondary
#C8927B
accent
#7445E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82