#2F85B7#2F85B7

#2F85B7 is a mid, moderate cyan. Relative luminance 0.208; OKLCH L 58.8% C 0.111 H 238.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2F85B7
RGBrgb(47, 133, 183)
HSLhsl(202, 59%, 45%)
HSVhsv(202, 74%, 72%)
CMYKcmyk(74.3%, 27.3%, 0%, 28.2%)
CIE-LABlab(52.73, -8.55, -33.56)
CIE-LCHlch(52.73, 34.64, 255.71°)
OKLaboklab(58.84% -0.0578 -0.0948)
OKLCHoklch(58.84% 0.111 238.6)
XYZxyz(18.1037, 20.7962, 47.8505)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F85B7 #B7612F
analogous
#2FB7A5 #2F85B7 #2F41B7
triadic
#2F85B7 #B72F85 #85B72F
tetradic
#2F85B7 #A52FB7 #B7612F #41B72F
square
#2F85B7 #A52FB7 #B7612F #41B72F
split-complementary
#2F85B7 #B72F41 #B7A52F
monochromatic
#163E56 #226286 #2F85B7 #51A3D2 #82BDDF

Accessibility & contrast

On white

4.07
#2F85B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#2F85B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F85B7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F85B7#FFFFFF#000000##000000
##2F85B71.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D85B9
Deuteranopia (green-blind)
#5B78B6
Tritanopia (blue-blind)
#009296
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2f85b7;
/* rgb */ color: rgb(47, 133, 183);
/* oklch */ color: oklch(58.8% 0.111 238.6);
Tailwind
colors: {
  custom: {
    50: '#7aa8cd',
    500: '#2f85b7',
    950: '#000000',
  },
}
SCSS
$custom: #2f85b7;
$custom-light: #7aa8cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f85b7",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 183
  },
  "hsl": {
    "h": 202.059,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.58835,
    "c": 0.11099,
    "h": 238.6
  },
  "luminance": 0.20798
}

Semantic roles & 50–950 ramp

primary
#2F85B7
secondary
#C8977A
accent
#7F45E2
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #2F85B7

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

Preview Lab → · Contrast checker → · Palette generator →

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