#5FA2E4#5FA2E4

#5FA2E4 is a light, moderate cyan. Relative luminance 0.339; OKLCH L 69.6% C 0.119 H 249.6°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#5FA2E4
RGBrgb(95, 162, 228)
HSLhsl(210, 71%, 63%)
HSVhsv(210, 58%, 89%)
CMYKcmyk(58.3%, 28.9%, 0%, 10.6%)
CIE-LABlab(64.86, -2.02, -39.73)
CIE-LCHlch(64.86, 39.78, 267.09°)
OKLaboklab(69.55% -0.0417 -0.1119)
OKLCHoklch(69.55% 0.119 249.6)
XYZxyz(31.6382, 33.8722, 78.2544)
Luminance0.3387 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA2E4 #E4A15F
analogous
#5FE4E3 #5FA2E4 #5F5FE4
triadic
#5FA2E4 #E45FA2 #A2E45F
tetradic
#5FA2E4 #E35FE4 #E4A15F #5FE45F
square
#5FA2E4 #E35FE4 #E4A15F #5FE45F
split-complementary
#5FA2E4 #E45F5F #E4E35F
monochromatic
#1D65AC #2B84DB #5FA2E4 #93C0ED #C8DFF6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA2E4#FFFFFF#000000##000000
##5FA2E41.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)
#86A5E7
Deuteranopia (green-blind)
#7498E3
Tritanopia (blue-blind)
#00B1B9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5fa2e4;
/* rgb */ color: rgb(95, 162, 228);
/* oklch */ color: oklch(69.6% 0.119 249.6);
Tailwind
colors: {
  custom: {
    50: '#96bded',
    500: '#5fa2e4',
    950: '#000000',
  },
}
SCSS
$custom: #5fa2e4;
$custom-light: #96bded;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa2e4",
  "rgb": {
    "r": 95,
    "g": 162,
    "b": 228
  },
  "hsl": {
    "h": 209.774,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.69554,
    "c": 0.11937,
    "h": 249.6
  },
  "luminance": 0.33875
}

Semantic roles & 50–950 ramp

primary
#5FA2E4
secondary
#E7CFB8
accent
#7212D3
background
#F9FBFE
surface
#F2F6FD
border
#CCD0D5
text
#0E1216
muted
#7E8184

Preview Lab

Preview with #5FA2E4

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

Preview Lab → · Contrast checker → · Palette generator →

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