#6157DE#6157DE

#6157DE is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.4% C 0.198 H 280.8°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6157DE
RGBrgb(97, 87, 222)
HSLhsl(244, 67%, 61%)
HSVhsv(244, 61%, 87%)
CMYKcmyk(56.3%, 60.8%, 0%, 12.9%)
CIE-LABlab(45.12, 41.28, -67.87)
CIE-LCHlch(45.12, 79.44, 301.31°)
OKLaboklab(54.4% 0.0374 -0.1949)
OKLCHoklch(54.4% 0.198 280.8)
XYZxyz(21.5187, 14.6303, 70.7831)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6157DE #D4DE57
analogous
#5791DE #6157DE #A457DE
triadic
#6157DE #DE6157 #57DE61
tetradic
#6157DE #DE5791 #D4DE57 #57DEA4
square
#6157DE #DE5791 #D4DE57 #57DEA4
split-complementary
#6157DE #DEA457 #91DE57
monochromatic
#281F9C #3529CF #6157DE #918AE8 #C1BDF2

Accessibility & contrast

On white

5.35
#6157DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#6157DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6157DE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6157DE#FFFFFF#000000##FFFFFF
##6157DE1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#0066DB
Tritanopia (blue-blind)
#1D7892
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6157de;
/* rgb */ color: rgb(97, 87, 222);
/* oklch */ color: oklch(54.4% 0.198 280.8);
Tailwind
colors: {
  custom: {
    50: '#9987e9',
    500: '#6157de',
    950: '#000000',
  },
}
SCSS
$custom: #6157de;
$custom-light: #9987e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6157de",
  "rgb": {
    "r": 97,
    "g": 87,
    "b": 222
  },
  "hsl": {
    "h": 244.444,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.544,
    "c": 0.19849,
    "h": 280.8
  },
  "luminance": 0.14632
}

Semantic roles & 50–950 ramp

primary
#6157DE
secondary
#DEE2AF
accent
#CF16C1
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6157DE

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

Preview Lab → · Contrast checker → · Palette generator →

#6157DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva