#2F8AB7#2F8AB7

#2F8AB7 is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 60.0% C 0.108 H 234.5°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2F8AB7
RGBrgb(47, 138, 183)
HSLhsl(200, 59%, 45%)
HSVhsv(200, 74%, 72%)
CMYKcmyk(74.3%, 24.6%, 0%, 28.2%)
CIE-LABlab(54.24, -11.40, -31.21)
CIE-LCHlch(54.24, 33.22, 249.94°)
OKLaboklab(60.04% -0.0627 -0.0879)
OKLCHoklch(60.04% 0.108 234.5)
XYZxyz(18.8046, 22.1980, 48.0841)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8AB7 #B75C2F
analogous
#2FB7A0 #2F8AB7 #2F46B7
triadic
#2F8AB7 #B72F8A #8AB72F
tetradic
#2F8AB7 #A02FB7 #B75C2F #46B72F
square
#2F8AB7 #A02FB7 #B75C2F #46B72F
split-complementary
#2F8AB7 #B72F46 #B7A02F
monochromatic
#164156 #226586 #2F8AB7 #51A7D2 #82C0DF

Accessibility & contrast

On white

3.86
#2F8AB7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#2F8AB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8AB7
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8AB7#FFFFFF#000000##000000
##2F8AB71.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7489B9
Deuteranopia (green-blind)
#627CB6
Tritanopia (blue-blind)
#009699
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f8ab7;
/* rgb */ color: rgb(47, 138, 183);
/* oklch */ color: oklch(60.0% 0.108 234.5);
Tailwind
colors: {
  custom: {
    50: '#7aaccc',
    500: '#2f8ab7',
    950: '#000000',
  },
}
SCSS
$custom: #2f8ab7;
$custom-light: #7aaccc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8ab7",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 183
  },
  "hsl": {
    "h": 199.853,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.60036,
    "c": 0.10795,
    "h": 234.5
  },
  "luminance": 0.222
}

Semantic roles & 50–950 ramp

primary
#2F8AB7
secondary
#C8947A
accent
#7945E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1013
muted
#7C7F82

Preview Lab

Preview with #2F8AB7

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2F8AB7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva