#6157DF#6157DF

#6157DF is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.5% C 0.200 H 280.8°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#6157DF
RGBrgb(97, 87, 223)
HSLhsl(244, 68%, 61%)
HSVhsv(244, 61%, 87%)
CMYKcmyk(56.5%, 61%, 0%, 12.5%)
CIE-LABlab(45.20, 41.59, -68.32)
CIE-LCHlch(45.20, 79.98, 301.33°)
OKLaboklab(54.48% 0.0373 -0.1962)
OKLCHoklch(54.48% 0.2 280.8)
XYZxyz(21.6531, 14.6841, 71.4910)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6157DF #D5DF57
analogous
#5791DF #6157DF #A557DF
triadic
#6157DF #DF6157 #57DF61
tetradic
#6157DF #DF5791 #D5DF57 #57DFA5
square
#6157DF #DF5791 #D5DF57 #57DFA5
split-complementary
#6157DF #DFA557 #91DF57
monochromatic
#271E9E #3428D1 #6157DF #918AE9 #C2BEF3

Accessibility & contrast

On white

5.33
#6157DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#6157DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6157DF
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6157DF#FFFFFF#000000##FFFFFF
##6157DF1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#1B7893
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6157df;
/* rgb */ color: rgb(97, 87, 223);
/* oklch */ color: oklch(54.5% 0.200 280.8);
Tailwind
colors: {
  custom: {
    50: '#9987ea',
    500: '#6157df',
    950: '#000000',
  },
}
SCSS
$custom: #6157df;
$custom-light: #9987ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6157df",
  "rgb": {
    "r": 97,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 244.412,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54478,
    "c": 0.19976,
    "h": 280.8
  },
  "luminance": 0.14685
}

Semantic roles & 50–950 ramp

primary
#6157DF
secondary
#DFE3AF
accent
#D016C2
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6157DF

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

Preview Lab → · Contrast checker → · Palette generator →

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