#2F85A7#2F85A7

#2F85A7 is a mid, moderate cyan. Relative luminance 0.202; OKLCH L 58.0% C 0.095 H 228.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2F85A7
RGBrgb(47, 133, 167)
HSLhsl(197, 56%, 42%)
HSVhsv(197, 72%, 65%)
CMYKcmyk(71.9%, 20.4%, 0%, 34.5%)
CIE-LABlab(52.03, -14.11, -25.44)
CIE-LCHlch(52.03, 29.09, 240.99°)
OKLaboklab(58.05% -0.0635 -0.0713)
OKLCHoklch(58.05% 0.095 228.3)
XYZxyz(16.5321, 20.1675, 39.5732)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F85A7 #A7512F
analogous
#2FA78D #2F85A7 #2F49A7
triadic
#2F85A7 #A72F85 #85A72F
tetradic
#2F85A7 #8D2FA7 #A7512F #49A72F
square
#2F85A7 #8D2FA7 #A7512F #49A72F
split-complementary
#2F85A7 #A72F49 #A78D2F
monochromatic
#143947 #225F77 #2F85A7 #48A6CB #78BDD9

Accessibility & contrast

On white

4.17
#2F85A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#2F85A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F85A7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F85A7#FFFFFF#000000##000000
##2F85A71.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7383A9
Deuteranopia (green-blind)
#6377A7
Tritanopia (blue-blind)
#008F90
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f85a7;
/* rgb */ color: rgb(47, 133, 167);
/* oklch */ color: oklch(58.0% 0.095 228.3);
Tailwind
colors: {
  custom: {
    50: '#78a8c1',
    500: '#2f85a7',
    950: '#000000',
  },
}
SCSS
$custom: #2f85a7;
$custom-light: #78a8c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f85a7",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 167
  },
  "hsl": {
    "h": 197,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.58047,
    "c": 0.09548,
    "h": 228.3
  },
  "luminance": 0.20169
}

Semantic roles & 50–950 ramp

primary
#2F85A7
secondary
#C18871
accent
#7348DF
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F85A7

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

Preview Lab → · Contrast checker → · Palette generator →

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