#5F9CE7#5F9CE7

#5F9CE7 is a light, vivid cyan. Relative luminance 0.320; OKLCH L 68.4% C 0.128 H 254.5°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#5F9CE7
RGBrgb(95, 156, 231)
HSLhsl(213, 74%, 64%)
HSVhsv(213, 59%, 91%)
CMYKcmyk(58.9%, 32.5%, 0%, 9.4%)
CIE-LABlab(63.32, 2.36, -43.80)
CIE-LCHlch(63.32, 43.86, 273.08°)
OKLaboklab(68.39% -0.0344 -0.1237)
OKLCHoklch(68.39% 0.128 254.5)
XYZxyz(31.0264, 31.9766, 80.1229)
Luminance0.3198 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9CE7 #E7AA5F
analogous
#5FE0E7 #5F9CE7 #665FE7
triadic
#5F9CE7 #E75F9C #9CE75F
tetradic
#5F9CE7 #E75FE0 #E7AA5F #5FE766
square
#5F9CE7 #E75FE0 #E7AA5F #5FE766
split-complementary
#5F9CE7 #E7665F #E0E75F
monochromatic
#1B5EB1 #2A7BDF #5F9CE7 #94BDEF #C9DEF7

Accessibility & contrast

On white

2.84
#5F9CE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#5F9CE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9CE7
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9CE7#FFFFFF#000000##000000
##5F9CE71.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA0EA
Deuteranopia (green-blind)
#6B93E5
Tritanopia (blue-blind)
#00ADB7
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5f9ce7;
/* rgb */ color: rgb(95, 156, 231);
/* oklch */ color: oklch(68.4% 0.128 254.5);
Tailwind
colors: {
  custom: {
    50: '#97b8ef',
    500: '#5f9ce7',
    950: '#000000',
  },
}
SCSS
$custom: #5f9ce7;
$custom-light: #97b8ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9ce7",
  "rgb": {
    "r": 95,
    "g": 156,
    "b": 231
  },
  "hsl": {
    "h": 213.088,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68393,
    "c": 0.12841,
    "h": 254.5
  },
  "luminance": 0.31979
}

Semantic roles & 50–950 ramp

primary
#5F9CE7
secondary
#E9D3B9
accent
#7D0FD6
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1116
muted
#7E8084

Preview Lab

Preview with #5F9CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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