#5F7CEE#5F7CEE

#5F7CEE is a light, vivid blue. Relative luminance 0.230; OKLCH L 62.2% C 0.174 H 270.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#5F7CEE
RGBrgb(95, 124, 238)
HSLhsl(228, 81%, 65%)
HSVhsv(228, 60%, 93%)
CMYKcmyk(60.1%, 47.9%, 0%, 6.7%)
CIE-LABlab(55.09, 23.69, -60.77)
CIE-LCHlch(55.09, 65.22, 291.29°)
OKLaboklab(62.16% 0 -0.1738)
OKLCHoklch(62.16% 0.174 270)
XYZxyz(27.3544, 23.0190, 83.8739)
Luminance0.2302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7CEE #EED15F
analogous
#5FC4EE #5F7CEE #895FEE
triadic
#5F7CEE #EE5F7C #7CEE5F
tetradic
#5F7CEE #EE5FC4 #EED15F #5FEE89
square
#5F7CEE #EE5FC4 #EED15F #5FEE89
split-complementary
#5F7CEE #EE895F #C4EE5F
monochromatic
#1437BE #284FE8 #5F7CEE #96A9F4 #CED7FA

Accessibility & contrast

On white

3.75
#5F7CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#5F7CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7CEE
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7CEE#FFFFFF#000000##000000
##5F7CEE1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#428BF2
Deuteranopia (green-blind)
#277EEC
Tritanopia (blue-blind)
#0096AA
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5f7cee;
/* rgb */ color: rgb(95, 124, 238);
/* oklch */ color: oklch(62.2% 0.174 270.0);
Tailwind
colors: {
  custom: {
    50: '#98a1f4',
    500: '#5f7cee',
    950: '#000000',
  },
}
SCSS
$custom: #5f7cee;
$custom-light: #98a1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7cee",
  "rgb": {
    "r": 95,
    "g": 124,
    "b": 238
  },
  "hsl": {
    "h": 227.832,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6216,
    "c": 0.17376,
    "h": 270
  },
  "luminance": 0.23021
}

Semantic roles & 50–950 ramp

primary
#5F7CEE
secondary
#ECE3BC
accent
#B208DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #5F7CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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