#2F8FAC#2F8FAC

#2F8FAC is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.7% C 0.097 H 222.2°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#2F8FAC
RGBrgb(47, 143, 172)
HSLhsl(194, 57%, 43%)
HSVhsv(194, 73%, 67%)
CMYKcmyk(72.7%, 16.9%, 0%, 32.5%)
CIE-LABlab(55.30, -17.90, -23.26)
CIE-LCHlch(55.30, 29.35, 232.42°)
OKLaboklab(60.74% -0.0718 -0.065)
OKLCHoklch(60.74% 0.097 222.2)
XYZxyz(18.4381, 23.2257, 42.5330)
Luminance0.2323 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8FAC #AC4C2F
analogous
#2FAC8A #2F8FAC #2F50AC
triadic
#2F8FAC #AC2F8F #8FAC2F
tetradic
#2F8FAC #8A2FAC #AC4C2F #50AC2F
square
#2F8FAC #8A2FAC #AC4C2F #50AC2F
split-complementary
#2F8FAC #AC2F50 #AC8A2F
monochromatic
#153F4C #22677C #2F8FAC #4BAFCE #7BC4DB

Accessibility & contrast

On white

3.72
#2F8FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#2F8FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8FAC
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8FAC#FFFFFF#000000##000000
##2F8FAC1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8BAE
Deuteranopia (green-blind)
#6D7FAC
Tritanopia (blue-blind)
#009898
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f8fac;
/* rgb */ color: rgb(47, 143, 172);
/* oklch */ color: oklch(60.7% 0.097 222.2);
Tailwind
colors: {
  custom: {
    50: '#79b0c4',
    500: '#2f8fac',
    950: '#000000',
  },
}
SCSS
$custom: #2f8fac;
$custom-light: #79b0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8fac",
  "rgb": {
    "r": 47,
    "g": 143,
    "b": 172
  },
  "hsl": {
    "h": 193.92,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.60738,
    "c": 0.09686,
    "h": 222.2
  },
  "luminance": 0.23228
}

Semantic roles & 50–950 ramp

primary
#2F8FAC
secondary
#C38674
accent
#6B47E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2F8FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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