#5F8ABA#5F8ABA

#5F8ABA is a light, moderate cyan. Relative luminance 0.242; OKLCH L 62.2% C 0.087 H 251.9°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5F8ABA
RGBrgb(95, 138, 186)
HSLhsl(212, 40%, 55%)
HSVhsv(212, 49%, 73%)
CMYKcmyk(48.9%, 25.8%, 0%, 27.1%)
CIE-LABlab(56.24, -1.31, -29.66)
CIE-LCHlch(56.24, 29.69, 267.46°)
OKLaboklab(62.18% -0.027 -0.0829)
OKLCHoklch(62.18% 0.087 251.9)
XYZxyz(22.6677, 24.1534, 49.9125)
Luminance0.2415 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8ABA #BA8F5F
analogous
#5FB8BA #5F8ABA #615FBA
triadic
#5F8ABA #BA5F8A #8ABA5F
tetradic
#5F8ABA #BA5FB8 #BA8F5F #5FBA61
square
#5F8ABA #BA5FB8 #BA8F5F #5FBA61
split-complementary
#5F8ABA #BA615F #B8BA5F
monochromatic
#304E6F #426C9A #5F8ABA #8AA9CC #B5C9DF

Accessibility & contrast

On white

3.60
#5F8ABA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#5F8ABA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8ABA
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8ABA#FFFFFF#000000##000000
##5F8ABA1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#778CBC
Deuteranopia (green-blind)
#6C83B9
Tritanopia (blue-blind)
#36959B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f8aba;
/* rgb */ color: rgb(95, 138, 186);
/* oklch */ color: oklch(62.2% 0.087 251.9);
Tailwind
colors: {
  custom: {
    50: '#91accf',
    500: '#5f8aba',
    950: '#000000',
  },
}
SCSS
$custom: #5f8aba;
$custom-light: #91accf;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8aba",
  "rgb": {
    "r": 95,
    "g": 138,
    "b": 186
  },
  "hsl": {
    "h": 211.648,
    "s": 39.738,
    "l": 55.098
  },
  "oklch": {
    "l": 0.6218,
    "c": 0.08718,
    "h": 251.9
  },
  "luminance": 0.24155
}

Semantic roles & 50–950 ramp

primary
#5F8ABA
secondary
#CDBBA7
accent
#9758D0
background
#F9FAFC
surface
#F1F4F9
border
#CBCED2
text
#0D1013
muted
#7E7F82

Preview Lab

Preview with #5F8ABA

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

Preview Lab → · Contrast checker → · Palette generator →

#5F8ABA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva