#2F85AB#2F85AB

#2F85AB is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.2% C 0.099 H 231.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2F85AB
RGBrgb(47, 133, 171)
HSLhsl(198, 57%, 43%)
HSVhsv(198, 73%, 67%)
CMYKcmyk(72.5%, 22.2%, 0%, 32.9%)
CIE-LABlab(52.19, -12.74, -27.49)
CIE-LCHlch(52.19, 30.30, 245.13°)
OKLaboklab(58.24% -0.062 -0.0772)
OKLCHoklch(58.24% 0.099 231.2)
XYZxyz(16.9076, 20.3177, 41.5508)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F85AB #AB552F
analogous
#2FAB93 #2F85AB #2F47AB
triadic
#2F85AB #AB2F85 #85AB2F
tetradic
#2F85AB #932FAB #AB552F #47AB2F
square
#2F85AB #932FAB #AB552F #47AB2F
split-complementary
#2F85AB #AB2F47 #AB932F
monochromatic
#153A4B #22607B #2F85AB #4AA5CD #7ABDDA

Accessibility & contrast

On white

4.15
#2F85AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#2F85AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F85AB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F85AB#FFFFFF#000000##000000
##2F85AB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7283AD
Deuteranopia (green-blind)
#6177AA
Tritanopia (blue-blind)
#008F92
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f85ab;
/* rgb */ color: rgb(47, 133, 171);
/* oklch */ color: oklch(58.2% 0.099 231.2);
Tailwind
colors: {
  custom: {
    50: '#78a8c4',
    500: '#2f85ab',
    950: '#000000',
  },
}
SCSS
$custom: #2f85ab;
$custom-light: #78a8c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f85ab",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 171
  },
  "hsl": {
    "h": 198.387,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.58237,
    "c": 0.09901,
    "h": 231.2
  },
  "luminance": 0.2032
}

Semantic roles & 50–950 ramp

primary
#2F85AB
secondary
#C38B73
accent
#7648E0
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2F85AB

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

Preview Lab → · Contrast checker → · Palette generator →

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