#2F85B8#2F85B8

#2F85B8 is a mid, moderate cyan. Relative luminance 0.208; OKLCH L 58.9% C 0.112 H 239.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2F85B8
RGBrgb(47, 133, 184)
HSLhsl(202, 59%, 45%)
HSVhsv(202, 74%, 72%)
CMYKcmyk(74.5%, 27.7%, 0%, 27.8%)
CIE-LABlab(52.77, -8.20, -34.07)
CIE-LCHlch(52.77, 35.04, 256.47°)
OKLaboklab(58.89% -0.0574 -0.0962)
OKLCHoklch(58.89% 0.112 239.2)
XYZxyz(18.2082, 20.8380, 48.4006)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F85B8 #B8622F
analogous
#2FB8A6 #2F85B8 #2F40B8
triadic
#2F85B8 #B82F85 #85B82F
tetradic
#2F85B8 #A62FB8 #B8622F #40B82F
square
#2F85B8 #A62FB8 #B8622F #40B82F
split-complementary
#2F85B8 #B82F40 #B8A62F
monochromatic
#163F57 #236287 #2F85B8 #52A3D3 #82BDDF

Accessibility & contrast

On white

4.06
#2F85B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#2F85B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F85B8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F85B8#FFFFFF#000000##000000
##2F85B81.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D85BA
Deuteranopia (green-blind)
#5A78B7
Tritanopia (blue-blind)
#009297
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2f85b8;
/* rgb */ color: rgb(47, 133, 184);
/* oklch */ color: oklch(58.9% 0.112 239.2);
Tailwind
colors: {
  custom: {
    50: '#7aa8cd',
    500: '#2f85b8',
    950: '#000000',
  },
}
SCSS
$custom: #2f85b8;
$custom-light: #7aa8cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f85b8",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 184
  },
  "hsl": {
    "h": 202.336,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.58886,
    "c": 0.11206,
    "h": 239.2
  },
  "luminance": 0.2084
}

Semantic roles & 50–950 ramp

primary
#2F85B8
secondary
#C8977B
accent
#8045E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #2F85B8

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

Preview Lab → · Contrast checker → · Palette generator →

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