#6174EA#6174EA

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

Color values

HEX#6174EA
RGBrgb(97, 116, 234)
HSLhsl(232, 77%, 65%)
HSVhsv(232, 59%, 92%)
CMYKcmyk(58.5%, 50.4%, 0%, 8.2%)
CIE-LABlab(52.92, 27.61, -62.02)
CIE-LCHlch(52.92, 67.89, 293.99°)
OKLaboklab(60.46% 0.0095 -0.1775)
OKLCHoklch(60.46% 0.178 273.1)
XYZxyz(26.0216, 20.9707, 80.5024)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6174EA #EAD761
analogous
#61B8EA #6174EA #9361EA
triadic
#6174EA #EA6174 #74EA61
tetradic
#6174EA #EA61B8 #EAD761 #61EA93
square
#6174EA #EA61B8 #EAD761 #61EA93
split-complementary
#6174EA #EA9361 #B8EA61
monochromatic
#182FB8 #2B44E3 #6174EA #97A4F1 #CDD3F8

Accessibility & contrast

On white

4.04
#6174EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#6174EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6174EA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6174EA#FFFFFF#000000##000000
##6174EA1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3385EE
Deuteranopia (green-blind)
#1379E8
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6174ea;
/* rgb */ color: rgb(97, 116, 234);
/* oklch */ color: oklch(60.5% 0.178 273.1);
Tailwind
colors: {
  custom: {
    50: '#999bf1',
    500: '#6174ea',
    950: '#000000',
  },
}
SCSS
$custom: #6174ea;
$custom-light: #999bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#6174ea",
  "rgb": {
    "r": 97,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 231.679,
    "s": 76.536,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60464,
    "c": 0.17776,
    "h": 273.1
  },
  "luminance": 0.20973
}

Semantic roles & 50–950 ramp

primary
#6174EA
secondary
#EBE4BC
accent
#BC0DD9
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6174EA

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

Preview Lab → · Contrast checker → · Palette generator →

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