#5F8EEC#5F8EEC

#5F8EEC is a light, vivid blue. Relative luminance 0.278; OKLCH L 65.7% C 0.150 H 262.9°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5F8EEC
RGBrgb(95, 142, 236)
HSLhsl(220, 79%, 65%)
HSVhsv(220, 60%, 93%)
CMYKcmyk(59.7%, 39.8%, 0%, 7.5%)
CIE-LABlab(59.74, 12.18, -52.23)
CIE-LCHlch(59.74, 53.63, 283.13°)
OKLaboklab(65.69% -0.0185 -0.1485)
OKLCHoklch(65.69% 0.15 262.9)
XYZxyz(29.5274, 27.8325, 83.1568)
Luminance0.2783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8EEC #ECBD5F
analogous
#5FD5EC #5F8EEC #775FEC
triadic
#5F8EEC #EC5F8E #8EEC5F
tetradic
#5F8EEC #EC5FD5 #ECBD5F #5FEC77
square
#5F8EEC #EC5FD5 #ECBD5F #5FEC77
split-complementary
#5F8EEC #EC775F #D5EC5F
monochromatic
#164DBA #2867E6 #5F8EEC #96B5F2 #CCDBF9

Accessibility & contrast

On white

3.20
#5F8EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#5F8EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8EEC
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8EEC#FFFFFF#000000##000000
##5F8EEC1.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597F0
Deuteranopia (green-blind)
#528AEA
Tritanopia (blue-blind)
#00A3B2
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5f8eec;
/* rgb */ color: rgb(95, 142, 236);
/* oklch */ color: oklch(65.7% 0.150 262.9);
Tailwind
colors: {
  custom: {
    50: '#97aef2',
    500: '#5f8eec',
    950: '#000000',
  },
}
SCSS
$custom: #5f8eec;
$custom-light: #97aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8eec",
  "rgb": {
    "r": 95,
    "g": 142,
    "b": 236
  },
  "hsl": {
    "h": 220,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65685,
    "c": 0.14964,
    "h": 262.9
  },
  "luminance": 0.27835
}

Semantic roles & 50–950 ramp

primary
#5F8EEC
secondary
#EBDBBB
accent
#960ADB
background
#F9FAFE
surface
#F2F4FD
border
#CCCED5
text
#0F1017
muted
#7E7F85

Preview Lab

Preview with #5F8EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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