#5F9EF1#5F9EF1

#5F9EF1 is a light, vivid cyan. Relative luminance 0.332; OKLCH L 69.4% C 0.139 H 255.9°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#5F9EF1
RGBrgb(95, 158, 241)
HSLhsl(214, 84%, 66%)
HSVhsv(214, 61%, 95%)
CMYKcmyk(60.6%, 34.4%, 0%, 5.5%)
CIE-LABlab(64.35, 4.44, -47.68)
CIE-LCHlch(64.35, 47.89, 275.31°)
OKLaboklab(69.35% -0.0339 -0.135)
OKLCHoklch(69.35% 0.139 255.9)
XYZxyz(32.8177, 33.2345, 87.8875)
Luminance0.3324 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9EF1 #F1B25F
analogous
#5FE7F1 #5F9EF1 #695FF1
triadic
#5F9EF1 #F15F9E #9EF15F
tetradic
#5F9EF1 #F15FE7 #F1B25F #5FF169
square
#5F9EF1 #F15FE7 #F1B25F #5FF169
split-complementary
#5F9EF1 #F1695F #E7F15F
monochromatic
#115FC4 #277CEC #5F9EF1 #97C0F6 #D0E2FB

Accessibility & contrast

On white

2.75
#5F9EF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#5F9EF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5F9EF1
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9EF1#FFFFFF#000000##000000
##5F9EF11.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA4F4
Deuteranopia (green-blind)
#6796EF
Tritanopia (blue-blind)
#00B1BC
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5f9ef1;
/* rgb */ color: rgb(95, 158, 241);
/* oklch */ color: oklch(69.4% 0.139 255.9);
Tailwind
colors: {
  custom: {
    50: '#98baf6',
    500: '#5f9ef1',
    950: '#000000',
  },
}
SCSS
$custom: #5f9ef1;
$custom-light: #98baf6;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9ef1",
  "rgb": {
    "r": 95,
    "g": 158,
    "b": 241
  },
  "hsl": {
    "h": 214.11,
    "s": 83.908,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69351,
    "c": 0.1392,
    "h": 255.9
  },
  "luminance": 0.33237
}

Semantic roles & 50–950 ramp

primary
#5F9EF1
secondary
#EED9BE
accent
#8205E0
background
#F9FBFF
surface
#F2F6FE
border
#CCD0D6
text
#0F1117
muted
#7E8085

Preview Lab

Preview with #5F9EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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