#2F85B5#2F85B5

#2F85B5 is a mid, moderate cyan. Relative luminance 0.207; OKLCH L 58.7% C 0.109 H 237.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2F85B5
RGBrgb(47, 133, 181)
HSLhsl(201, 59%, 45%)
HSVhsv(201, 74%, 71%)
CMYKcmyk(74%, 26.5%, 0%, 29%)
CIE-LABlab(52.63, -9.26, -32.56)
CIE-LCHlch(52.63, 33.85, 254.13°)
OKLaboklab(58.73% -0.0584 -0.0918)
OKLCHoklch(58.73% 0.109 237.5)
XYZxyz(17.8970, 20.7135, 46.7620)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F85B5 #B55F2F
analogous
#2FB5A2 #2F85B5 #2F42B5
triadic
#2F85B5 #B52F85 #85B52F
tetradic
#2F85B5 #A22FB5 #B55F2F #42B52F
square
#2F85B5 #A22FB5 #B55F2F #42B52F
split-complementary
#2F85B5 #B52F42 #B5A22F
monochromatic
#163E54 #226184 #2F85B5 #50A3D1 #80BCDE

Accessibility & contrast

On white

4.08
#2F85B5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#2F85B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F85B5
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F85B5#FFFFFF#000000##000000
##2F85B51.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E85B7
Deuteranopia (green-blind)
#5C78B4
Tritanopia (blue-blind)
#009195
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2f85b5;
/* rgb */ color: rgb(47, 133, 181);
/* oklch */ color: oklch(58.7% 0.109 237.5);
Tailwind
colors: {
  custom: {
    50: '#7aa8cb',
    500: '#2f85b5',
    950: '#000000',
  },
}
SCSS
$custom: #2f85b5;
$custom-light: #7aa8cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f85b5",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 181
  },
  "hsl": {
    "h": 201.493,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.58732,
    "c": 0.10887,
    "h": 237.5
  },
  "luminance": 0.20716
}

Semantic roles & 50–950 ramp

primary
#2F85B5
secondary
#C79579
accent
#7E46E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F85B5

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

Preview Lab → · Contrast checker → · Palette generator →

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