#2F8DAD#2F8DAD

#2F8DAD is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.3% C 0.098 H 224.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#2F8DAD
RGBrgb(47, 141, 173)
HSLhsl(195, 57%, 43%)
HSVhsv(195, 73%, 68%)
CMYKcmyk(72.8%, 18.5%, 0%, 32.2%)
CIE-LABlab(54.73, -16.48, -24.72)
CIE-LCHlch(54.73, 29.71, 236.30°)
OKLaboklab(60.29% -0.0694 -0.0692)
OKLCHoklch(60.29% 0.098 224.9)
XYZxyz(18.2369, 22.6691, 42.9415)
Luminance0.2267 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8DAD #AD4F2F
analogous
#2FAD8E #2F8DAD #2F4EAD
triadic
#2F8DAD #AD2F8D #8DAD2F
tetradic
#2F8DAD #8E2FAD #AD4F2F #4EAD2F
square
#2F8DAD #8E2FAD #AD4F2F #4EAD2F
split-complementary
#2F8DAD #AD2F4E #AD8E2F
monochromatic
#153F4D #22667D #2F8DAD #4BADCE #7BC3DB

Accessibility & contrast

On white

3.79
#2F8DAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#2F8DAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8DAD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8DAD#FFFFFF#000000##000000
##2F8DAD1.003.795.535.53
#FFFFFF3.791.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f8dad;
/* rgb */ color: rgb(47, 141, 173);
/* oklch */ color: oklch(60.3% 0.098 224.9);
Tailwind
colors: {
  custom: {
    50: '#79aec5',
    500: '#2f8dad',
    950: '#000000',
  },
}
SCSS
$custom: #2f8dad;
$custom-light: #79aec5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8dad",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 173
  },
  "hsl": {
    "h": 195.238,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.60291,
    "c": 0.09798,
    "h": 224.9
  },
  "luminance": 0.22671
}

Semantic roles & 50–950 ramp

primary
#2F8DAD
secondary
#C48874
accent
#6E47E1
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F8DAD

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

Preview Lab → · Contrast checker → · Palette generator →

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