#5FA2E7#5FA2E7

#5FA2E7 is a light, vivid cyan. Relative luminance 0.340; OKLCH L 69.7% C 0.123 H 250.6°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#5FA2E7
RGBrgb(95, 162, 231)
HSLhsl(210, 74%, 64%)
HSVhsv(210, 59%, 91%)
CMYKcmyk(58.9%, 29.9%, 0%, 9.4%)
CIE-LABlab(64.99, -1.07, -41.18)
CIE-LCHlch(64.99, 41.19, 268.51°)
OKLaboklab(69.7% -0.0408 -0.116)
OKLCHoklch(69.7% 0.123 250.6)
XYZxyz(32.0582, 34.0402, 80.4668)
Luminance0.3404 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA2E7 #E7A45F
analogous
#5FE6E7 #5FA2E7 #605FE7
triadic
#5FA2E7 #E75FA2 #A2E75F
tetradic
#5FA2E7 #E75FE6 #E7A45F #5FE760
square
#5FA2E7 #E75FE6 #E7A45F #5FE760
split-complementary
#5FA2E7 #E7605F #E6E75F
monochromatic
#1B65B1 #2A83DF #5FA2E7 #94C1EF #C9E0F7

Accessibility & contrast

On white

2.69
#5FA2E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#5FA2E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FA2E7
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA2E7#FFFFFF#000000##000000
##5FA2E71.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A5EA
Deuteranopia (green-blind)
#7398E6
Tritanopia (blue-blind)
#00B2BA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #5fa2e7;
/* rgb */ color: rgb(95, 162, 231);
/* oklch */ color: oklch(69.7% 0.123 250.6);
Tailwind
colors: {
  custom: {
    50: '#97bdef',
    500: '#5fa2e7',
    950: '#000000',
  },
}
SCSS
$custom: #5fa2e7;
$custom-light: #97bdef;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa2e7",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 231
  },
  "hsl": {
    "h": 210.441,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69703,
    "c": 0.123,
    "h": 250.6
  },
  "luminance": 0.34043
}

Semantic roles & 50–950 ramp

primary
#5FA2E7
secondary
#E9D1B9
accent
#740FD6
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1216
muted
#7E8184

Preview Lab

Preview with #5FA2E7

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

Preview Lab → · Contrast checker → · Palette generator →

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