#2F8AAA#2F8AAA

#2F8AAA is a mid, moderate cyan. Relative luminance 0.217; OKLCH L 59.4% C 0.096 H 225.6°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2F8AAA
RGBrgb(47, 138, 170)
HSLhsl(196, 57%, 43%)
HSVhsv(196, 72%, 67%)
CMYKcmyk(72.4%, 18.8%, 0%, 33.3%)
CIE-LABlab(53.69, -15.86, -24.61)
CIE-LCHlch(53.69, 29.27, 237.20°)
OKLaboklab(59.42% -0.0674 -0.0689)
OKLCHoklch(59.42% 0.096 225.6)
XYZxyz(17.5135, 21.6816, 41.2844)
Luminance0.2168 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8AAA #AA4F2F
analogous
#2FAA8D #2F8AAA #2F4CAA
triadic
#2F8AAA #AA2F8A #8AAA2F
tetradic
#2F8AAA #8D2FAA #AA4F2F #4CAA2F
square
#2F8AAA #8D2FAA #AA4F2F #4CAA2F
split-complementary
#2F8AAA #AA2F4C #AA8D2F
monochromatic
#143C4A #22637A #2F8AAA #49ABCD #79C1DA

Accessibility & contrast

On white

3.93
#2F8AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#2F8AAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8AAA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8AAA#FFFFFF#000000##000000
##2F8AAA1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7887AC
Deuteranopia (green-blind)
#687BAA
Tritanopia (blue-blind)
#009394
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #2f8aaa;
/* rgb */ color: rgb(47, 138, 170);
/* oklch */ color: oklch(59.4% 0.096 225.6);
Tailwind
colors: {
  custom: {
    50: '#78acc3',
    500: '#2f8aaa',
    950: '#000000',
  },
}
SCSS
$custom: #2f8aaa;
$custom-light: #78acc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8aaa",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 170
  },
  "hsl": {
    "h": 195.61,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.59416,
    "c": 0.09642,
    "h": 225.6
  },
  "luminance": 0.21684
}

Semantic roles & 50–950 ramp

primary
#2F8AAA
secondary
#C28772
accent
#6F48E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1012
muted
#7C7F81

Preview Lab

Preview with #2F8AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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