#5F89B2#5F89B2

#5F89B2 is a mid, moderate cyan. Relative luminance 0.235; OKLCH L 61.6% C 0.078 H 248.6°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5F89B2
RGBrgb(95, 137, 178)
HSLhsl(210, 35%, 54%)
HSVhsv(210, 47%, 70%)
CMYKcmyk(46.6%, 23%, 0%, 30.2%)
CIE-LABlab(55.62, -3.13, -26.05)
CIE-LCHlch(55.62, 26.24, 263.15°)
OKLaboklab(61.58% -0.0284 -0.0725)
OKLCHoklch(61.58% 0.078 248.6)
XYZxyz(21.6981, 23.5371, 45.5106)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F89B2 #B2885F
analogous
#5FB2B1 #5F89B2 #5F5FB2
triadic
#5F89B2 #B25F89 #89B25F
tetradic
#5F89B2 #B15FB2 #B2885F #5FB25F
square
#5F89B2 #B15FB2 #B2885F #5FB25F
split-complementary
#5F89B2 #B25F5F #B2B15F
monochromatic
#314C66 #456A8F #5F89B2 #88A7C6 #B2C6DA

Accessibility & contrast

On white

3.68
#5F89B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#5F89B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F89B2
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F89B2#FFFFFF#000000##000000
##5F89B21.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#798AB4
Deuteranopia (green-blind)
#6E82B1
Tritanopia (blue-blind)
#3C9297
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5f89b2;
/* rgb */ color: rgb(95, 137, 178);
/* oklch */ color: oklch(61.6% 0.078 248.6);
Tailwind
colors: {
  custom: {
    50: '#91abc9',
    500: '#5f89b2',
    950: '#000000',
  },
}
SCSS
$custom: #5f89b2;
$custom-light: #91abc9;
$custom-dark: #000000;
JSON
{
  "hex": "#5f89b2",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 178
  },
  "hsl": {
    "h": 209.639,
    "s": 35.021,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61583,
    "c": 0.07792,
    "h": 248.6
  },
  "luminance": 0.23539
}

Semantic roles & 50–950 ramp

primary
#5F89B2
secondary
#C8B6A5
accent
#935DCB
background
#F9FAFC
surface
#F1F4F8
border
#CBCED1
text
#0D1013
muted
#7E7F82

Preview Lab

Preview with #5F89B2

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

Preview Lab → · Contrast checker → · Palette generator →

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