#2F8AC0#2F8AC0

#2F8AC0 is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.5% C 0.117 H 239.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#2F8AC0
RGBrgb(47, 138, 192)
HSLhsl(202, 61%, 47%)
HSVhsv(202, 76%, 75%)
CMYKcmyk(75.5%, 28.1%, 0%, 24.7%)
CIE-LABlab(54.64, -8.23, -35.70)
CIE-LCHlch(54.64, 36.64, 257.02°)
OKLaboklab(60.49% -0.0596 -0.1009)
OKLCHoklch(60.49% 0.117 239.4)
XYZxyz(19.7715, 22.5847, 53.1762)
Luminance0.2259 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8AC0 #C0652F
analogous
#2FC0AE #2F8AC0 #2F42C0
triadic
#2F8AC0 #C02F8A #8AC02F
tetradic
#2F8AC0 #AE2FC0 #C0652F #42C02F
square
#2F8AC0 #AE2FC0 #C0652F #42C02F
split-complementary
#2F8AC0 #C02F42 #C0AE2F
monochromatic
#17435E #23678F #2F8AC0 #56A6D6 #88C0E2

Accessibility & contrast

On white

3.81
#2F8AC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#2F8AC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8AC0
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8AC0#FFFFFF#000000##000000
##2F8AC01.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#718AC2
Deuteranopia (green-blind)
#5D7DBF
Tritanopia (blue-blind)
#00989D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2f8ac0;
/* rgb */ color: rgb(47, 138, 192);
/* oklch */ color: oklch(60.5% 0.117 239.4);
Tailwind
colors: {
  custom: {
    50: '#7cacd3',
    500: '#2f8ac0',
    950: '#000000',
  },
}
SCSS
$custom: #2f8ac0;
$custom-light: #7cacd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8ac0",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 192
  },
  "hsl": {
    "h": 202.345,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.60492,
    "c": 0.11722,
    "h": 239.4
  },
  "luminance": 0.22587
}

Semantic roles & 50–950 ramp

primary
#2F8AC0
secondary
#CB9C7F
accent
#8044E4
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #2F8AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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