#6174EB#6174EB

#6174EB is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.5% C 0.179 H 273.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#6174EB
RGBrgb(97, 116, 235)
HSLhsl(232, 78%, 65%)
HSVhsv(232, 59%, 92%)
CMYKcmyk(58.7%, 50.6%, 0%, 7.8%)
CIE-LABlab(52.98, 27.93, -62.48)
CIE-LCHlch(52.98, 68.44, 294.09°)
OKLaboklab(60.53% 0.0096 -0.1789)
OKLCHoklch(60.53% 0.179 273.1)
XYZxyz(26.1656, 21.0283, 81.2612)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6174EB #EBD861
analogous
#61B9EB #6174EB #9361EB
triadic
#6174EB #EB6174 #74EB61
tetradic
#6174EB #EB61B9 #EBD861 #61EB93
square
#6174EB #EB61B9 #EBD861 #61EB93
split-complementary
#6174EB #EB9361 #B9EB61
monochromatic
#182EBA #2B44E4 #6174EB #97A4F2 #CED4F9

Accessibility & contrast

On white

4.03
#6174EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#6174EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6174EB
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6174EB#FFFFFF#000000##000000
##6174EB1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3285EF
Deuteranopia (green-blind)
#0F79E9
Tritanopia (blue-blind)
#008FA5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6174eb;
/* rgb */ color: rgb(97, 116, 235);
/* oklch */ color: oklch(60.5% 0.179 273.1);
Tailwind
colors: {
  custom: {
    50: '#999bf2',
    500: '#6174eb',
    950: '#000000',
  },
}
SCSS
$custom: #6174eb;
$custom-light: #999bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#6174eb",
  "rgb": {
    "r": 97,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 231.739,
    "s": 77.528,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60532,
    "c": 0.17911,
    "h": 273.1
  },
  "luminance": 0.2103
}

Semantic roles & 50–950 ramp

primary
#6174EB
secondary
#EBE5BD
accent
#BD0CDA
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6174EB

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

Preview Lab → · Contrast checker → · Palette generator →

#6174EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva