#6172EE#6172EE

#6172EE is a mid, vivid blue. Relative luminance 0.207; OKLCH L 60.4% C 0.186 H 273.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#6172EE
RGBrgb(97, 114, 238)
HSLhsl(233, 81%, 66%)
HSVhsv(233, 59%, 93%)
CMYKcmyk(59.2%, 52.1%, 0%, 6.7%)
CIE-LABlab(52.67, 30.13, -64.66)
CIE-LCHlch(52.67, 71.33, 294.98°)
OKLaboklab(60.36% 0.0117 -0.1853)
OKLCHoklch(60.36% 0.186 273.6)
XYZxyz(26.3746, 20.7470, 83.4870)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6172EE #EEDD61
analogous
#61B8EE #6172EE #9661EE
triadic
#6172EE #EE6172 #72EE61
tetradic
#6172EE #EE61B8 #EEDD61 #61EE96
square
#6172EE #EE61B8 #EEDD61 #61EE96
split-complementary
#6172EE #EE9661 #B8EE61
monochromatic
#1529C0 #2A41E8 #6172EE #98A3F4 #D0D5FA

Accessibility & contrast

On white

4.08
#6172EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#6172EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6172EE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6172EE#FFFFFF#000000##000000
##6172EE1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2784F2
Deuteranopia (green-blind)
#0078EB
Tritanopia (blue-blind)
#008FA5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6172ee;
/* rgb */ color: rgb(97, 114, 238);
/* oklch */ color: oklch(60.4% 0.186 273.6);
Tailwind
colors: {
  custom: {
    50: '#9a9af4',
    500: '#6172ee',
    950: '#000000',
  },
}
SCSS
$custom: #6172ee;
$custom-light: #9a9af4;
$custom-dark: #000000;
JSON
{
  "hex": "#6172ee",
  "rgb": {
    "r": 97,
    "g": 114,
    "b": 238
  },
  "hsl": {
    "h": 232.766,
    "s": 80.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6036,
    "c": 0.18564,
    "h": 273.6
  },
  "luminance": 0.20749
}

Semantic roles & 50–950 ramp

primary
#6172EE
secondary
#EDE7BE
accent
#C309DD
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6172EE

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

Preview Lab → · Contrast checker → · Palette generator →

#6172EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva