#5FA1EB#5FA1EB

#5FA1EB is a light, vivid cyan. Relative luminance 0.339; OKLCH L 69.7% C 0.129 H 252.6°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#5FA1EB
RGBrgb(95, 161, 235)
HSLhsl(212, 78%, 65%)
HSVhsv(212, 60%, 92%)
CMYKcmyk(59.6%, 31.5%, 0%, 7.8%)
CIE-LABlab(64.90, 0.78, -43.53)
CIE-LCHlch(64.90, 43.53, 271.02°)
OKLaboklab(69.69% -0.0386 -0.1229)
OKLCHoklch(69.69% 0.129 252.6)
XYZxyz(32.4542, 33.9178, 83.4177)
Luminance0.3392 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA1EB #EBA95F
analogous
#5FE7EB #5FA1EB #635FEB
triadic
#5FA1EB #EB5FA1 #A1EB5F
tetradic
#5FA1EB #EB5FE7 #EBA95F #5FEB63
square
#5FA1EB #EB5FE7 #EBA95F #5FEB63
split-complementary
#5FA1EB #EB635F #E7EB5F
monochromatic
#1763B9 #2981E4 #5FA1EB #95C1F2 #CCE1F9

Accessibility & contrast

On white

2.70
#5FA1EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#5FA1EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA1EB
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA1EB#FFFFFF#000000##000000
##5FA1EB1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#82A5EE
Deuteranopia (green-blind)
#6F97EA
Tritanopia (blue-blind)
#00B2BB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5fa1eb;
/* rgb */ color: rgb(95, 161, 235);
/* oklch */ color: oklch(69.7% 0.129 252.6);
Tailwind
colors: {
  custom: {
    50: '#97bcf2',
    500: '#5fa1eb',
    950: '#000000',
  },
}
SCSS
$custom: #5fa1eb;
$custom-light: #97bcf2;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa1eb",
  "rgb": {
    "r": 95,
    "g": 161,
    "b": 235
  },
  "hsl": {
    "h": 211.714,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69686,
    "c": 0.1288,
    "h": 252.6
  },
  "luminance": 0.33921
}

Semantic roles & 50–950 ramp

primary
#5FA1EB
secondary
#EBD4BB
accent
#790BDA
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0F1217
muted
#7E8185

Preview Lab

Preview with #5FA1EB

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

Preview Lab → · Contrast checker → · Palette generator →

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