#5F7EEE#5F7EEE

#5F7EEE is a light, vivid blue. Relative luminance 0.235; OKLCH L 62.6% C 0.171 H 269.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#5F7EEE
RGBrgb(95, 126, 238)
HSLhsl(227, 81%, 65%)
HSVhsv(227, 60%, 93%)
CMYKcmyk(60.1%, 47.1%, 0%, 6.7%)
CIE-LABlab(55.61, 22.47, -59.93)
CIE-LCHlch(55.61, 64.01, 290.55°)
OKLaboklab(62.55% -0.002 -0.1713)
OKLCHoklch(62.55% 0.171 269.3)
XYZxyz(27.6076, 23.5254, 83.9583)
Luminance0.2353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7EEE #EECF5F
analogous
#5FC5EE #5F7EEE #875FEE
triadic
#5F7EEE #EE5F7E #7EEE5F
tetradic
#5F7EEE #EE5FC5 #EECF5F #5FEE87
square
#5F7EEE #EE5FC5 #EECF5F #5FEE87
split-complementary
#5F7EEE #EE875F #C5EE5F
monochromatic
#1439BE #2851E8 #5F7EEE #96ABF4 #CED7FA

Accessibility & contrast

On white

3.68
#5F7EEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#5F7EEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F7EEE
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7EEE#FFFFFF#000000##000000
##5F7EEE1.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#468CF2
Deuteranopia (green-blind)
#2D7FEC
Tritanopia (blue-blind)
#0097AB
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5f7eee;
/* rgb */ color: rgb(95, 126, 238);
/* oklch */ color: oklch(62.6% 0.171 269.3);
Tailwind
colors: {
  custom: {
    50: '#98a3f4',
    500: '#5f7eee',
    950: '#000000',
  },
}
SCSS
$custom: #5f7eee;
$custom-light: #98a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7eee",
  "rgb": {
    "r": 95,
    "g": 126,
    "b": 238
  },
  "hsl": {
    "h": 226.993,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.62553,
    "c": 0.1713,
    "h": 269.3
  },
  "luminance": 0.23528
}

Semantic roles & 50–950 ramp

primary
#5F7EEE
secondary
#ECE2BC
accent
#AF08DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0F17
muted
#7F7E85

Preview Lab

Preview with #5F7EEE

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

Preview Lab → · Contrast checker → · Palette generator →

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