#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
RGBrgb(47, 143, 171)
HSLhsl(194, 57%, 43%)
HSVhsv(194, 73%, 67%)
CMYKcmyk(72.5%, 16.4%, 0%, 32.9%)
CIE-LABlab(55.26, -18.23, -22.75)
CIE-LCHlch(55.26, 29.16, 231.29°)
OKLaboklab(60.69% -0.0722 -0.0636)
OKLCHoklch(60.69% 0.096 221.4)
XYZxyz(18.3424, 23.1874, 42.0291)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

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
##2F8FAB1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.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

Preview Lab

Preview with #2F8FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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