#2F8FAF#2F8FAF

#2F8FAF is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 60.9% C 0.099 H 224.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2F8FAF
RGBrgb(47, 143, 175)
HSLhsl(195, 58%, 44%)
HSVhsv(195, 73%, 69%)
CMYKcmyk(73.1%, 18.3%, 0%, 31.4%)
CIE-LABlab(55.42, -16.90, -24.80)
CIE-LCHlch(55.42, 30.01, 235.72°)
OKLaboklab(60.87% -0.0706 -0.0694)
OKLCHoklch(60.87% 0.099 224.5)
XYZxyz(18.7294, 23.3422, 44.0675)
Luminance0.2334 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8FAF #AF4F2F
analogous
#2FAF8F #2F8FAF #2F4FAF
triadic
#2F8FAF #AF2F8F #8FAF2F
tetradic
#2F8FAF #8F2FAF #AF4F2F #4FAF2F
square
#2F8FAF #8F2FAF #AF4F2F #4FAF2F
split-complementary
#2F8FAF #AF2F4F #AF8F2F
monochromatic
#15404F #22687F #2F8FAF #4CAECF #7CC4DC

Accessibility & contrast

On white

3.70
#2F8FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#2F8FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8FAF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8FAF#FFFFFF#000000##000000
##2F8FAF1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8CB1
Deuteranopia (green-blind)
#6C7FAF
Tritanopia (blue-blind)
#009999
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #2f8faf;
/* rgb */ color: rgb(47, 143, 175);
/* oklch */ color: oklch(60.9% 0.099 224.5);
Tailwind
colors: {
  custom: {
    50: '#79b0c7',
    500: '#2f8faf',
    950: '#000000',
  },
}
SCSS
$custom: #2f8faf;
$custom-light: #79b0c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8faf",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 175
  },
  "hsl": {
    "h": 195,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.60873,
    "c": 0.09902,
    "h": 224.5
  },
  "luminance": 0.23344
}

Semantic roles & 50–950 ramp

primary
#2F8FAF
secondary
#C48975
accent
#6D47E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F8FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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