#2F8EAA#2F8EAA

#2F8EAA is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 60.4% C 0.096 H 221.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2F8EAA
RGBrgb(47, 142, 170)
HSLhsl(194, 57%, 43%)
HSVhsv(194, 72%, 67%)
CMYKcmyk(72.4%, 16.5%, 0%, 33.3%)
CIE-LABlab(54.92, -18.03, -22.71)
CIE-LCHlch(54.92, 29.00, 231.56°)
OKLaboklab(60.4% -0.0715 -0.0635)
OKLCHoklch(60.4% 0.096 221.6)
XYZxyz(18.0980, 22.8505, 41.4792)
Luminance0.2285 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8EAA #AA4B2F
analogous
#2FAA89 #2F8EAA #2F50AA
triadic
#2F8EAA #AA2F8E #8EAA2F
tetradic
#2F8EAA #892FAA #AA4B2F #50AA2F
square
#2F8EAA #892FAA #AA4B2F #50AA2F
split-complementary
#2F8EAA #AA2F50 #AA892F
monochromatic
#143E4A #22667A #2F8EAA #49AFCD #79C4DA

Accessibility & contrast

On white

3.77
#2F8EAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#2F8EAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8EAA
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8EAA#FFFFFF#000000##000000
##2F8EAA1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8AAB
Deuteranopia (green-blind)
#6D7EAA
Tritanopia (blue-blind)
#009797
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f8eaa;
/* rgb */ color: rgb(47, 142, 170);
/* oklch */ color: oklch(60.4% 0.096 221.6);
Tailwind
colors: {
  custom: {
    50: '#79afc3',
    500: '#2f8eaa',
    950: '#000000',
  },
}
SCSS
$custom: #2f8eaa;
$custom-light: #79afc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8eaa",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 170
  },
  "hsl": {
    "h": 193.659,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.60402,
    "c": 0.09564,
    "h": 221.6
  },
  "luminance": 0.22853
}

Semantic roles & 50–950 ramp

primary
#2F8EAA
secondary
#C28572
accent
#6A48E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2F8EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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