#2F8EAF#2F8EAF

#2F8EAF is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 60.6% C 0.099 H 225.5°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#2F8EAF
RGBrgb(47, 142, 175)
HSLhsl(195, 58%, 44%)
HSVhsv(195, 73%, 69%)
CMYKcmyk(73.1%, 18.9%, 0%, 31.4%)
CIE-LABlab(55.12, -16.36, -25.27)
CIE-LCHlch(55.12, 30.10, 237.09°)
OKLaboklab(60.63% -0.0696 -0.0708)
OKLCHoklch(60.63% 0.099 225.5)
XYZxyz(18.5800, 23.0433, 44.0177)
Luminance0.2304 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8EAF #AF502F
analogous
#2FAF90 #2F8EAF #2F4EAF
triadic
#2F8EAF #AF2F8E #8EAF2F
tetradic
#2F8EAF #902FAF #AF502F #4EAF2F
square
#2F8EAF #902FAF #AF502F #4EAF2F
split-complementary
#2F8EAF #AF2F4E #AF902F
monochromatic
#15404F #22677F #2F8EAF #4CADCF #7CC3DC

Accessibility & contrast

On white

3.74
#2F8EAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#2F8EAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8EAF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8EAF#FFFFFF#000000##000000
##2F8EAF1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8BB1
Deuteranopia (green-blind)
#6A7EAF
Tritanopia (blue-blind)
#009899
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f8eaf;
/* rgb */ color: rgb(47, 142, 175);
/* oklch */ color: oklch(60.6% 0.099 225.5);
Tailwind
colors: {
  custom: {
    50: '#79afc7',
    500: '#2f8eaf',
    950: '#000000',
  },
}
SCSS
$custom: #2f8eaf;
$custom-light: #79afc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8eaf",
  "rgb": {
    "r": 47,
    "g": 142,
    "b": 175
  },
  "hsl": {
    "h": 195.469,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.60628,
    "c": 0.09927,
    "h": 225.5
  },
  "luminance": 0.23045
}

Semantic roles & 50–950 ramp

primary
#2F8EAF
secondary
#C48A75
accent
#6F47E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #2F8EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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