#6174E8#6174E8

#6174E8 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.3% C 0.175 H 273.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6174E8
RGBrgb(97, 116, 232)
HSLhsl(232, 75%, 65%)
HSVhsv(232, 58%, 91%)
CMYKcmyk(58.2%, 50%, 0%, 9%)
CIE-LABlab(52.79, 26.96, -61.11)
CIE-LCHlch(52.79, 66.79, 293.80°)
OKLaboklab(60.33% 0.0093 -0.1748)
OKLCHoklch(60.33% 0.175 273)
XYZxyz(25.7359, 20.8564, 78.9978)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6174E8 #E8D561
analogous
#61B7E8 #6174E8 #9261E8
triadic
#6174E8 #E86174 #74E861
tetradic
#6174E8 #E861B7 #E8D561 #61E892
square
#6174E8 #E861B7 #E8D561 #61E892
split-complementary
#6174E8 #E89261 #B7E861
monochromatic
#1A30B4 #2C45E0 #6174E8 #96A3F0 #CCD2F8

Accessibility & contrast

On white

4.06
#6174E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#6174E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6174E8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6174E8#FFFFFF#000000##000000
##6174E81.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3684EC
Deuteranopia (green-blind)
#1A78E6
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6174e8;
/* rgb */ color: rgb(97, 116, 232);
/* oklch */ color: oklch(60.3% 0.175 273.0);
Tailwind
colors: {
  custom: {
    50: '#999bf0',
    500: '#6174e8',
    950: '#000000',
  },
}
SCSS
$custom: #6174e8;
$custom-light: #999bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#6174e8",
  "rgb": {
    "r": 97,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 231.556,
    "s": 74.586,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60329,
    "c": 0.17506,
    "h": 273
  },
  "luminance": 0.20858
}

Semantic roles & 50–950 ramp

primary
#6174E8
secondary
#EAE3BB
accent
#BB0FD7
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6174E8

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

Preview Lab → · Contrast checker → · Palette generator →

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