#5E7FEC#5E7FEC

#5E7FEC is a light, vivid blue. Relative luminance 0.236; OKLCH L 62.6% C 0.168 H 268.6°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5E7FEC
RGBrgb(94, 127, 236)
HSLhsl(226, 79%, 65%)
HSVhsv(226, 60%, 93%)
CMYKcmyk(60.2%, 46.2%, 0%, 7.5%)
CIE-LABlab(55.70, 21.02, -58.68)
CIE-LCHlch(55.70, 62.33, 289.71°)
OKLaboklab(62.57% -0.0042 -0.1676)
OKLCHoklch(62.57% 0.168 268.6)
XYZxyz(27.3407, 23.6123, 82.4574)
Luminance0.2361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7FEC #ECCB5E
analogous
#5EC6EC #5E7FEC #845EEC
triadic
#5E7FEC #EC5E7F #7FEC5E
tetradic
#5E7FEC #EC5EC6 #ECCB5E #5EEC84
square
#5E7FEC #EC5EC6 #ECCB5E #5EEC84
split-complementary
#5E7FEC #EC845E #C6EC5E
monochromatic
#163CBA #2753E6 #5E7FEC #95ABF2 #CBD6F9

Accessibility & contrast

On white

3.67
#5E7FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#5E7FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E7FEC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7FEC#FFFFFF#000000##000000
##5E7FEC1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8CF0
Deuteranopia (green-blind)
#337FEA
Tritanopia (blue-blind)
#0098AA
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5e7fec;
/* rgb */ color: rgb(94, 127, 236);
/* oklch */ color: oklch(62.6% 0.168 268.6);
Tailwind
colors: {
  custom: {
    50: '#97a3f3',
    500: '#5e7fec',
    950: '#000000',
  },
}
SCSS
$custom: #5e7fec;
$custom-light: #97a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7fec",
  "rgb": {
    "r": 94,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 226.056,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62568,
    "c": 0.16767,
    "h": 268.6
  },
  "luminance": 0.23615
}

Semantic roles & 50–950 ramp

primary
#5E7FEC
secondary
#EBE0BB
accent
#AB0ADB
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0F0F17
muted
#7E7F85

Preview Lab

Preview with #5E7FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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