#5F9EF2#5F9EF2

#5F9EF2 is a light, vivid cyan. Relative luminance 0.333; OKLCH L 69.4% C 0.140 H 256.1°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5F9EF2
RGBrgb(95, 158, 242)
HSLhsl(214, 85%, 66%)
HSVhsv(214, 61%, 95%)
CMYKcmyk(60.7%, 34.7%, 0%, 5.1%)
CIE-LABlab(64.40, 4.76, -48.15)
CIE-LCHlch(64.40, 48.39, 275.65°)
OKLaboklab(69.4% -0.0337 -0.1364)
OKLCHoklch(69.4% 0.14 256.1)
XYZxyz(32.9675, 33.2944, 88.6763)
Luminance0.3330 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9EF2 #F2B35F
analogous
#5FE7F2 #5F9EF2 #695FF2
triadic
#5F9EF2 #F25F9E #9EF25F
tetradic
#5F9EF2 #F25FE7 #F2B35F #5FF269
square
#5F9EF2 #F25FE7 #F2B35F #5FF269
split-complementary
#5F9EF2 #F2695F #E7F25F
monochromatic
#105EC6 #267CED #5F9EF2 #98C0F7 #D0E3FB

Accessibility & contrast

On white

2.74
#5F9EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#5F9EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9EF2
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9EF2#FFFFFF#000000##000000
##5F9EF21.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA4F5
Deuteranopia (green-blind)
#6696F0
Tritanopia (blue-blind)
#00B1BD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5f9ef2;
/* rgb */ color: rgb(95, 158, 242);
/* oklch */ color: oklch(69.4% 0.140 256.1);
Tailwind
colors: {
  custom: {
    50: '#98baf7',
    500: '#5f9ef2',
    950: '#000000',
  },
}
SCSS
$custom: #5f9ef2;
$custom-light: #98baf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9ef2",
  "rgb": {
    "r": 95,
    "g": 158,
    "b": 242
  },
  "hsl": {
    "h": 214.286,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69404,
    "c": 0.14048,
    "h": 256.1
  },
  "luminance": 0.33297
}

Semantic roles & 50–950 ramp

primary
#5F9EF2
secondary
#EFDABE
accent
#8304E1
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5F9EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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