#5E62F2#5E62F2

#5E62F2 is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.6% C 0.211 H 276.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#5E62F2
RGBrgb(94, 98, 242)
HSLhsl(238, 85%, 66%)
HSVhsv(238, 61%, 95%)
CMYKcmyk(61.2%, 59.5%, 0%, 5.1%)
CIE-LABlab(48.91, 40.58, -72.99)
CIE-LCHlch(48.91, 83.52, 299.07°)
OKLaboklab(57.6% 0.0232 -0.21)
OKLCHoklch(57.6% 0.211 276.3)
XYZxyz(25.0056, 17.5239, 86.0519)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E62F2 #F2EE5E
analogous
#5EACF2 #5E62F2 #A45EF2
triadic
#5E62F2 #F25E62 #62F25E
tetradic
#5E62F2 #F25EAC #F2EE5E #5EF2A4
square
#5E62F2 #F25EAC #F2EE5E #5EF2A4
split-complementary
#5E62F2 #F2A45E #ACF25E
monochromatic
#1015C6 #252BED #5E62F2 #9799F7 #CFD0FB

Accessibility & contrast

On white

4.66
#5E62F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#5E62F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5E62F2
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E62F2#FFFFFF#000000##FFFFFF
##5E62F21.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007BF7
Deuteranopia (green-blind)
#006EEF
Tritanopia (blue-blind)
#0085A1
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #5e62f2;
/* rgb */ color: rgb(94, 98, 242);
/* oklch */ color: oklch(57.6% 0.211 276.3);
Tailwind
colors: {
  custom: {
    50: '#9a8ff7',
    500: '#5e62f2',
    950: '#000000',
  },
}
SCSS
$custom: #5e62f2;
$custom-light: #9a8ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e62f2",
  "rgb": {
    "r": 94,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 238.378,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.57599,
    "c": 0.21128,
    "h": 276.3
  },
  "luminance": 0.17526
}

Semantic roles & 50–950 ramp

primary
#5E62F2
secondary
#EEEDBD
accent
#DC04E2
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #5E62F2

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

Preview Lab → · Contrast checker → · Palette generator →

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