#2F8ABC#2F8ABC

#2F8ABC is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.3% C 0.113 H 237.3°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#2F8ABC
RGBrgb(47, 138, 188)
HSLhsl(201, 60%, 46%)
HSVhsv(201, 75%, 74%)
CMYKcmyk(75%, 26.6%, 0%, 26.3%)
CIE-LABlab(54.46, -9.65, -33.71)
CIE-LCHlch(54.46, 35.07, 254.03°)
OKLaboklab(60.29% -0.061 -0.0951)
OKLCHoklch(60.29% 0.113 237.3)
XYZxyz(19.3343, 22.4099, 50.8738)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8ABC #BC612F
analogous
#2FBCA7 #2F8ABC #2F43BC
triadic
#2F8ABC #BC2F8A #8ABC2F
tetradic
#2F8ABC #A72FBC #BC612F #43BC2F
square
#2F8ABC #A72FBC #BC612F #43BC2F
split-complementary
#2F8ABC #BC2F43 #BCA72F
monochromatic
#17425A #23668B #2F8ABC #54A7D4 #85C0E0

Accessibility & contrast

On white

3.83
#2F8ABC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#2F8ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8ABC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8ABC#FFFFFF#000000##000000
##2F8ABC1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#728ABE
Deuteranopia (green-blind)
#5F7CBB
Tritanopia (blue-blind)
#00979B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2f8abc;
/* rgb */ color: rgb(47, 138, 188);
/* oklch */ color: oklch(60.3% 0.113 237.3);
Tailwind
colors: {
  custom: {
    50: '#7bacd0',
    500: '#2f8abc',
    950: '#000000',
  },
}
SCSS
$custom: #2f8abc;
$custom-light: #7bacd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8abc",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 188
  },
  "hsl": {
    "h": 201.277,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.60286,
    "c": 0.113,
    "h": 237.3
  },
  "luminance": 0.22412
}

Semantic roles & 50–950 ramp

primary
#2F8ABC
secondary
#CA987D
accent
#7D45E3
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B1014
muted
#7C7F82

Preview Lab

Preview with #2F8ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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