#5F7EEC#5F7EEC

#5F7EEC is a light, vivid blue. Relative luminance 0.234; OKLCH L 62.4% C 0.169 H 269.2°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5F7EEC
RGBrgb(95, 126, 236)
HSLhsl(227, 79%, 65%)
HSVhsv(227, 60%, 93%)
CMYKcmyk(59.7%, 46.6%, 0%, 7.5%)
CIE-LABlab(55.49, 21.81, -59.01)
CIE-LCHlch(55.49, 62.91, 290.28°)
OKLaboklab(62.43% -0.0023 -0.1686)
OKLCHoklch(62.43% 0.169 269.2)
XYZxyz(27.3154, 23.4085, 82.4194)
Luminance0.2341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7EEC #ECCD5F
analogous
#5FC4EC #5F7EEC #875FEC
triadic
#5F7EEC #EC5F7E #7EEC5F
tetradic
#5F7EEC #EC5FC4 #ECCD5F #5FEC87
square
#5F7EEC #EC5FC4 #ECCD5F #5FEC87
split-complementary
#5F7EEC #EC875F #C4EC5F
monochromatic
#163ABA #2852E6 #5F7EEC #96AAF2 #CCD6F9

Accessibility & contrast

On white

3.70
#5F7EEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#5F7EEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7EEC
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7EEC#FFFFFF#000000##000000
##5F7EEC1.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#488CF0
Deuteranopia (green-blind)
#317FEA
Tritanopia (blue-blind)
#0097AA
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5f7eec;
/* rgb */ color: rgb(95, 126, 236);
/* oklch */ color: oklch(62.4% 0.169 269.2);
Tailwind
colors: {
  custom: {
    50: '#98a3f3',
    500: '#5f7eec',
    950: '#000000',
  },
}
SCSS
$custom: #5f7eec;
$custom-light: #98a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7eec",
  "rgb": {
    "r": 95,
    "g": 126,
    "b": 236
  },
  "hsl": {
    "h": 226.809,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.62425,
    "c": 0.1686,
    "h": 269.2
  },
  "luminance": 0.23411
}

Semantic roles & 50–950 ramp

primary
#5F7EEC
secondary
#EBE1BB
accent
#AD0ADB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0F17
muted
#7E7E85

Preview Lab

Preview with #5F7EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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