#2F8DAF#2F8DAF

#2F8DAF is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.4% C 0.100 H 226.4°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#2F8DAF
RGBrgb(47, 141, 175)
HSLhsl(196, 58%, 44%)
HSVhsv(196, 73%, 69%)
CMYKcmyk(73.1%, 19.4%, 0%, 31.4%)
CIE-LABlab(54.81, -15.81, -25.74)
CIE-LCHlch(54.81, 30.21, 238.44°)
OKLaboklab(60.38% -0.0686 -0.0721)
OKLCHoklch(60.38% 0.1 226.4)
XYZxyz(18.4319, 22.7471, 43.9683)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8DAF #AF512F
analogous
#2FAF91 #2F8DAF #2F4DAF
triadic
#2F8DAF #AF2F8D #8DAF2F
tetradic
#2F8DAF #912FAF #AF512F #4DAF2F
square
#2F8DAF #912FAF #AF512F #4DAF2F
split-complementary
#2F8DAF #AF2F4D #AF912F
monochromatic
#153F4F #22667F #2F8DAF #4CACCF #7CC3DC

Accessibility & contrast

On white

3.78
#2F8DAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#2F8DAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8DAF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8DAF#FFFFFF#000000##000000
##2F8DAF1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8AB1
Deuteranopia (green-blind)
#697EAF
Tritanopia (blue-blind)
#009798
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f8daf;
/* rgb */ color: rgb(47, 141, 175);
/* oklch */ color: oklch(60.4% 0.100 226.4);
Tailwind
colors: {
  custom: {
    50: '#79aec7',
    500: '#2f8daf',
    950: '#000000',
  },
}
SCSS
$custom: #2f8daf;
$custom-light: #79aec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8daf",
  "rgb": {
    "r": 47,
    "g": 141,
    "b": 175
  },
  "hsl": {
    "h": 195.938,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.60383,
    "c": 0.09954,
    "h": 226.4
  },
  "luminance": 0.22749
}

Semantic roles & 50–950 ramp

primary
#2F8DAF
secondary
#C48A75
accent
#7047E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F8DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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