#2F85B2#2F85B2

#2F85B2 is a mid, moderate cyan. Relative luminance 0.206; OKLCH L 58.6% C 0.106 H 235.8°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#2F85B2
RGBrgb(47, 133, 178)
HSLhsl(201, 58%, 44%)
HSVhsv(201, 74%, 70%)
CMYKcmyk(73.6%, 25.3%, 0%, 30.2%)
CIE-LABlab(52.50, -10.31, -31.05)
CIE-LCHlch(52.50, 32.71, 251.63°)
OKLaboklab(58.58% -0.0595 -0.0875)
OKLCHoklch(58.58% 0.106 235.8)
XYZxyz(17.5925, 20.5917, 45.1583)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F85B2 #B25C2F
analogous
#2FB29E #2F85B2 #2F44B2
triadic
#2F85B2 #B22F85 #85B22F
tetradic
#2F85B2 #9E2FB2 #B25C2F #44B22F
square
#2F85B2 #9E2FB2 #B25C2F #44B22F
split-complementary
#2F85B2 #B22F44 #B29E2F
monochromatic
#153D51 #226182 #2F85B2 #4EA3D0 #7EBDDD

Accessibility & contrast

On white

4.10
#2F85B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#2F85B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F85B2
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F85B2#FFFFFF#000000##000000
##2F85B21.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F84B4
Deuteranopia (green-blind)
#5E78B1
Tritanopia (blue-blind)
#009194
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f85b2;
/* rgb */ color: rgb(47, 133, 178);
/* oklch */ color: oklch(58.6% 0.106 235.8);
Tailwind
colors: {
  custom: {
    50: '#79a8c9',
    500: '#2f85b2',
    950: '#000000',
  },
}
SCSS
$custom: #2f85b2;
$custom-light: #79a8c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f85b2",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 178
  },
  "hsl": {
    "h": 200.611,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.58581,
    "c": 0.10578,
    "h": 235.8
  },
  "luminance": 0.20594
}

Semantic roles & 50–950 ramp

primary
#2F85B2
secondary
#C69277
accent
#7C46E1
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F85B2

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

Preview Lab → · Contrast checker → · Palette generator →

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