#2F85BC#2F85BC

#2F85BC is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 59.1% C 0.116 H 241.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#2F85BC
RGBrgb(47, 133, 188)
HSLhsl(203, 60%, 46%)
HSVhsv(203, 75%, 74%)
CMYKcmyk(75%, 29.3%, 0%, 26.3%)
CIE-LABlab(52.96, -6.77, -36.06)
CIE-LCHlch(52.96, 36.69, 259.36°)
OKLaboklab(59.1% -0.0561 -0.102)
OKLCHoklch(59.1% 0.116 241.2)
XYZxyz(18.6334, 21.0081, 50.6401)
Luminance0.2101 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F85BC #BC662F
analogous
#2FBCAC #2F85BC #2F3FBC
triadic
#2F85BC #BC2F85 #85BC2F
tetradic
#2F85BC #AC2FBC #BC662F #3FBC2F
square
#2F85BC #AC2FBC #BC662F #3FBC2F
split-complementary
#2F85BC #BC2F3F #BCAC2F
monochromatic
#17405A #23628B #2F85BC #54A2D4 #85BDE0

Accessibility & contrast

On white

4.04
#2F85BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#2F85BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F85BC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F85BC#FFFFFF#000000##000000
##2F85BC1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B86BE
Deuteranopia (green-blind)
#5879BB
Tritanopia (blue-blind)
#009398
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2f85bc;
/* rgb */ color: rgb(47, 133, 188);
/* oklch */ color: oklch(59.1% 0.116 241.2);
Tailwind
colors: {
  custom: {
    50: '#7ba8d0',
    500: '#2f85bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f85bc;
$custom-light: #7ba8d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f85bc",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 188
  },
  "hsl": {
    "h": 203.404,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.59096,
    "c": 0.11644,
    "h": 241.2
  },
  "luminance": 0.2101
}

Semantic roles & 50–950 ramp

primary
#2F85BC
secondary
#CA9B7D
accent
#8245E3
background
#F8FAFC
surface
#EFF4F9
border
#CACED2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #2F85BC

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

Preview Lab → · Contrast checker → · Palette generator →

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