#5FA7DC#5FA7DC

#5FA7DC is a light, moderate cyan. Relative luminance 0.352; OKLCH L 70.3% C 0.107 H 242.3°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#5FA7DC
RGBrgb(95, 167, 220)
HSLhsl(205, 64%, 62%)
HSVhsv(205, 57%, 86%)
CMYKcmyk(56.8%, 24.1%, 0%, 13.7%)
CIE-LABlab(65.93, -7.31, -33.66)
CIE-LCHlch(65.93, 34.44, 257.74°)
OKLaboklab(70.29% -0.0496 -0.0943)
OKLCHoklch(70.29% 0.107 242.3)
XYZxyz(31.4515, 35.2348, 72.8398)
Luminance0.3524 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA7DC #DC945F
analogous
#5FDCD3 #5FA7DC #5F69DC
triadic
#5FA7DC #DC5FA7 #A7DC5F
tetradic
#5FA7DC #D35FDC #DC945F #69DC5F
square
#5FA7DC #D35FDC #DC945F #69DC5F
split-complementary
#5FA7DC #DC5F69 #DCD35F
monochromatic
#236A9E #2E8BD0 #5FA7DC #91C3E7 #C3DEF2

Accessibility & contrast

On white

2.61
#5FA7DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#5FA7DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA7DC
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA7DC#FFFFFF#000000##000000
##5FA7DC1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A7DE
Deuteranopia (green-blind)
#7F9BDB
Tritanopia (blue-blind)
#00B4B9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #5fa7dc;
/* rgb */ color: rgb(95, 167, 220);
/* oklch */ color: oklch(70.3% 0.107 242.3);
Tailwind
colors: {
  custom: {
    50: '#95c1e7',
    500: '#5fa7dc',
    950: '#000000',
  },
}
SCSS
$custom: #5fa7dc;
$custom-light: #95c1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa7dc",
  "rgb": {
    "r": 95,
    "g": 167,
    "b": 220
  },
  "hsl": {
    "h": 205.44,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.70285,
    "c": 0.10653,
    "h": 242.3
  },
  "luminance": 0.35238
}

Semantic roles & 50–950 ramp

primary
#5FA7DC
secondary
#E3C8B4
accent
#651ACC
background
#F9FBFE
surface
#F2F7FC
border
#CCD0D5
text
#0E1216
muted
#7E8184

Preview Lab

Preview with #5FA7DC

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

Preview Lab → · Contrast checker → · Palette generator →

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