#2F8ACE#2F8ACE

#2F8ACE is a mid, vivid cyan. Relative luminance 0.232; OKLCH L 61.2% C 0.133 H 245.4°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#2F8ACE
RGBrgb(47, 138, 206)
HSLhsl(206, 63%, 50%)
HSVhsv(206, 77%, 81%)
CMYKcmyk(77.2%, 33%, 0%, 19.2%)
CIE-LABlab(55.31, -3.22, -42.58)
CIE-LCHlch(55.31, 42.70, 265.67°)
OKLaboklab(61.24% -0.0553 -0.1209)
OKLCHoklch(61.24% 0.133 245.4)
XYZxyz(21.3970, 23.2350, 61.7376)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8ACE #CE732F
analogous
#2FCEC2 #2F8ACE #2F3BCE
triadic
#2F8ACE #CE2F8A #8ACE2F
tetradic
#2F8ACE #C22FCE #CE732F #3BCE2F
square
#2F8ACE #C22FCE #CE732F #3BCE2F
split-complementary
#2F8ACE #CE2F3B #CEC22F
monochromatic
#18476A #24699C #2F8ACE #60A6DB #91C2E6

Accessibility & contrast

On white

3.72
#2F8ACE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#2F8ACE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8ACE
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8ACE#FFFFFF#000000##000000
##2F8ACE1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8DD1
Deuteranopia (green-blind)
#547ECD
Tritanopia (blue-blind)
#009AA2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #2f8ace;
/* rgb */ color: rgb(47, 138, 206);
/* oklch */ color: oklch(61.2% 0.133 245.4);
Tailwind
colors: {
  custom: {
    50: '#7eabdd',
    500: '#2f8ace',
    950: '#000000',
  },
}
SCSS
$custom: #2f8ace;
$custom-light: #7eabdd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8ace",
  "rgb": {
    "r": 47,
    "g": 138,
    "b": 206
  },
  "hsl": {
    "h": 205.66,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.61243,
    "c": 0.13301,
    "h": 245.4
  },
  "luminance": 0.23238
}

Semantic roles & 50–950 ramp

primary
#2F8ACE
secondary
#D1A788
accent
#8842E6
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0B1015
muted
#7C7F83

Preview Lab

Preview with #2F8ACE

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

Preview Lab → · Contrast checker → · Palette generator →

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