#2F85AC#2F85AC

#2F85AC is a mid, moderate cyan. Relative luminance 0.204; OKLCH L 58.3% C 0.100 H 231.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#2F85AC
RGBrgb(47, 133, 172)
HSLhsl(199, 57%, 43%)
HSVhsv(199, 73%, 67%)
CMYKcmyk(72.7%, 22.7%, 0%, 32.5%)
CIE-LABlab(52.24, -12.40, -28.00)
CIE-LCHlch(52.24, 30.62, 246.12°)
OKLaboklab(58.29% -0.0616 -0.0787)
OKLCHoklch(58.29% 0.1 231.9)
XYZxyz(17.0032, 20.3560, 42.0547)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F85AC #AC562F
analogous
#2FAC94 #2F85AC #2F46AC
triadic
#2F85AC #AC2F85 #85AC2F
tetradic
#2F85AC #942FAC #AC562F #46AC2F
square
#2F85AC #942FAC #AC562F #46AC2F
split-complementary
#2F85AC #AC2F46 #AC942F
monochromatic
#153B4C #22607C #2F85AC #4BA5CE #7BBDDB

Accessibility & contrast

On white

4.14
#2F85AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#2F85AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F85AC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F85AC#FFFFFF#000000##000000
##2F85AC1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7183AE
Deuteranopia (green-blind)
#6177AB
Tritanopia (blue-blind)
#009092
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f85ac;
/* rgb */ color: rgb(47, 133, 172);
/* oklch */ color: oklch(58.3% 0.100 231.9);
Tailwind
colors: {
  custom: {
    50: '#78a8c5',
    500: '#2f85ac',
    950: '#000000',
  },
}
SCSS
$custom: #2f85ac;
$custom-light: #78a8c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f85ac",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 172
  },
  "hsl": {
    "h": 198.72,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.58285,
    "c": 0.09993,
    "h": 231.9
  },
  "luminance": 0.20358
}

Semantic roles & 50–950 ramp

primary
#2F85AC
secondary
#C38C74
accent
#7747E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F85AC

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

Preview Lab → · Contrast checker → · Palette generator →

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