#5E6CF2#5E6CF2

#5E6CF2 is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.4% C 0.199 H 274.1°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#5E6CF2
RGBrgb(94, 108, 242)
HSLhsl(234, 85%, 66%)
HSVhsv(234, 61%, 95%)
CMYKcmyk(61.2%, 55.4%, 0%, 5.1%)
CIE-LABlab(51.28, 34.57, -69.14)
CIE-LCHlch(51.28, 77.30, 296.56°)
OKLaboklab(59.36% 0.0144 -0.1986)
OKLCHoklch(59.36% 0.199 274.1)
XYZxyz(26.0004, 19.5135, 86.3835)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6CF2 #F2E45E
analogous
#5EB6F2 #5E6CF2 #9A5EF2
triadic
#5E6CF2 #F25E6C #6CF25E
tetradic
#5E6CF2 #F25EB6 #F2E45E #5EF29A
square
#5E6CF2 #F25EB6 #F2E45E #5EF29A
split-complementary
#5E6CF2 #F29A5E #B6F25E
monochromatic
#1021C6 #2538ED #5E6CF2 #97A0F7 #CFD3FB

Accessibility & contrast

On white

4.28
#5E6CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#5E6CF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E6CF2
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6CF2#FFFFFF#000000##000000
##5E6CF21.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#0074EF
Tritanopia (blue-blind)
#008CA5
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #5e6cf2;
/* rgb */ color: rgb(94, 108, 242);
/* oklch */ color: oklch(59.4% 0.199 274.1);
Tailwind
colors: {
  custom: {
    50: '#9996f7',
    500: '#5e6cf2',
    950: '#000000',
  },
}
SCSS
$custom: #5e6cf2;
$custom-light: #9996f7;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6cf2",
  "rgb": {
    "r": 94,
    "g": 108,
    "b": 242
  },
  "hsl": {
    "h": 234.324,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.59357,
    "c": 0.19913,
    "h": 274.1
  },
  "luminance": 0.19516
}

Semantic roles & 50–950 ramp

primary
#5E6CF2
secondary
#EEEABD
accent
#CD04E2
background
#FAF9FF
surface
#F4F1FF
border
#CECBD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #5E6CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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