#5FA1F4#5FA1F4

#5FA1F4 is a light, vivid cyan. Relative luminance 0.345; OKLCH L 70.2% C 0.140 H 255.0°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#5FA1F4
RGBrgb(95, 161, 244)
HSLhsl(213, 87%, 66%)
HSVhsv(213, 61%, 96%)
CMYKcmyk(61.1%, 34%, 0%, 4.3%)
CIE-LABlab(65.32, 3.68, -47.80)
CIE-LCHlch(65.32, 47.94, 274.40°)
OKLaboklab(70.15% -0.0362 -0.1353)
OKLCHoklch(70.15% 0.14 255)
XYZxyz(33.7875, 34.4512, 90.4396)
Luminance0.3445 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA1F4 #F4B25F
analogous
#5FECF4 #5FA1F4 #685FF4
triadic
#5FA1F4 #F45FA1 #A1F45F
tetradic
#5FA1F4 #F45FEC #F4B25F #5FF468
square
#5FA1F4 #F45FEC #F4B25F #5FF468
split-complementary
#5FA1F4 #F4685F #ECF45F
monochromatic
#0E62CB #267FF0 #5FA1F4 #98C3F8 #D2E4FC

Accessibility & contrast

On white

2.66
#5FA1F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#5FA1F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA1F4
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA1F4#FFFFFF#000000##000000
##5FA1F41.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA6F7
Deuteranopia (green-blind)
#6998F2
Tritanopia (blue-blind)
#00B4BF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fa1f4;
/* rgb */ color: rgb(95, 161, 244);
/* oklch */ color: oklch(70.2% 0.140 255.0);
Tailwind
colors: {
  custom: {
    50: '#98bcf8',
    500: '#5fa1f4',
    950: '#000000',
  },
}
SCSS
$custom: #5fa1f4;
$custom-light: #98bcf8;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa1f4",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 244
  },
  "hsl": {
    "h": 213.423,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70154,
    "c": 0.14009,
    "h": 255
  },
  "luminance": 0.34454
}

Semantic roles & 50–950 ramp

primary
#5FA1F4
secondary
#F0DABF
accent
#8002E4
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1217
muted
#7F8185

Preview Lab

Preview with #5FA1F4

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

Preview Lab → · Contrast checker → · Palette generator →

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