#5FA1F3#5FA1F3

#5FA1F3 is a light, vivid cyan. Relative luminance 0.344; OKLCH L 70.1% C 0.139 H 254.8°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#5FA1F3
RGBrgb(95, 161, 243)
HSLhsl(213, 86%, 66%)
HSVhsv(213, 61%, 95%)
CMYKcmyk(60.9%, 33.7%, 0%, 4.7%)
CIE-LABlab(65.27, 3.36, -47.32)
CIE-LCHlch(65.27, 47.44, 274.06°)
OKLaboklab(70.1% -0.0365 -0.1339)
OKLCHoklch(70.1% 0.139 254.8)
XYZxyz(33.6360, 34.3906, 89.6421)
Luminance0.3439 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA1F3 #F3B15F
analogous
#5FEBF3 #5FA1F3 #675FF3
triadic
#5FA1F3 #F35FA1 #A1F35F
tetradic
#5FA1F3 #F35FEB #F3B15F #5FF367
square
#5FA1F3 #F35FEB #F3B15F #5FF367
split-complementary
#5FA1F3 #F3675F #EBF35F
monochromatic
#0F62C9 #2680EF #5FA1F3 #98C2F7 #D1E4FC

Accessibility & contrast

On white

2.67
#5FA1F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#5FA1F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA1F3
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA1F3#FFFFFF#000000##000000
##5FA1F31.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA6F6
Deuteranopia (green-blind)
#6A98F1
Tritanopia (blue-blind)
#00B4BF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5fa1f3;
/* rgb */ color: rgb(95, 161, 243);
/* oklch */ color: oklch(70.1% 0.139 254.8);
Tailwind
colors: {
  custom: {
    50: '#98bcf7',
    500: '#5fa1f3',
    950: '#000000',
  },
}
SCSS
$custom: #5fa1f3;
$custom-light: #98bcf7;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa1f3",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 243
  },
  "hsl": {
    "h": 213.243,
    "s": 86.047,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70101,
    "c": 0.13882,
    "h": 254.8
  },
  "luminance": 0.34394
}

Semantic roles & 50–950 ramp

primary
#5FA1F3
secondary
#EFDABF
accent
#7F03E3
background
#FAFBFF
surface
#F3F6FF
border
#CDD0D7
text
#0F1217
muted
#7F8185

Preview Lab

Preview with #5FA1F3

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

Preview Lab → · Contrast checker → · Palette generator →

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