#2F85B3#2F85B3

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

Color values

HEX#2F85B3
RGBrgb(47, 133, 179)
HSLhsl(201, 58%, 44%)
HSVhsv(201, 74%, 70%)
CMYKcmyk(73.7%, 25.7%, 0%, 29.8%)
CIE-LABlab(52.54, -9.96, -31.55)
CIE-LCHlch(52.54, 33.09, 252.48°)
OKLaboklab(58.63% -0.0591 -0.0889)
OKLCHoklch(58.63% 0.107 236.4)
XYZxyz(17.6933, 20.6320, 45.6890)
Luminance0.2063 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F85B3 #B35D2F
analogous
#2FB39F #2F85B3 #2F43B3
triadic
#2F85B3 #B32F85 #85B32F
tetradic
#2F85B3 #9F2FB3 #B35D2F #43B32F
square
#2F85B3 #9F2FB3 #B35D2F #43B32F
split-complementary
#2F85B3 #B32F43 #B39F2F
monochromatic
#163D52 #226183 #2F85B3 #4FA3D1 #7FBDDD

Accessibility & contrast

On white

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

On black

5.13
#2F85B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F85B3
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F85B3#FFFFFF#000000##000000
##2F85B31.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F84B5
Deuteranopia (green-blind)
#5D78B2
Tritanopia (blue-blind)
#009195
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #2f85b3;
/* rgb */ color: rgb(47, 133, 179);
/* oklch */ color: oklch(58.6% 0.107 236.4);
Tailwind
colors: {
  custom: {
    50: '#79a8ca',
    500: '#2f85b3',
    950: '#000000',
  },
}
SCSS
$custom: #2f85b3;
$custom-light: #79a8ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f85b3",
  "rgb": {
    "r": 47,
    "g": 133,
    "b": 179
  },
  "hsl": {
    "h": 200.909,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.58631,
    "c": 0.1068,
    "h": 236.4
  },
  "luminance": 0.20634
}

Semantic roles & 50–950 ramp

primary
#2F85B3
secondary
#C69378
accent
#7C46E2
background
#F8FAFC
surface
#EFF4F8
border
#CACED1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2F85B3

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

Preview Lab → · Contrast checker → · Palette generator →

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