#6174EF#6174EF

#6174EF is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.8% C 0.184 H 273.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6174EF
RGBrgb(97, 116, 239)
HSLhsl(232, 82%, 66%)
HSVhsv(232, 59%, 94%)
CMYKcmyk(59.4%, 51.5%, 0%, 6.3%)
CIE-LABlab(53.24, 29.24, -64.31)
CIE-LCHlch(53.24, 70.64, 294.45°)
OKLaboklab(60.81% 0.0099 -0.1842)
OKLCHoklch(60.81% 0.184 273.1)
XYZxyz(26.7500, 21.2620, 84.3390)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6174EF #EFDC61
analogous
#61BBEF #6174EF #9561EF
triadic
#6174EF #EF6174 #74EF61
tetradic
#6174EF #EF61BB #EFDC61 #61EF95
square
#6174EF #EF61BB #EFDC61 #61EF95
split-complementary
#6174EF #EF9561 #BBEF61
monochromatic
#142BC2 #2943E9 #6174EF #99A5F5 #D0D6FA

Accessibility & contrast

On white

4.00
#6174EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#6174EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6174EF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6174EF#FFFFFF#000000##000000
##6174EF1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C86F3
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6174ef;
/* rgb */ color: rgb(97, 116, 239);
/* oklch */ color: oklch(60.8% 0.184 273.1);
Tailwind
colors: {
  custom: {
    50: '#9a9bf5',
    500: '#6174ef',
    950: '#000000',
  },
}
SCSS
$custom: #6174ef;
$custom-light: #9a9bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#6174ef",
  "rgb": {
    "r": 97,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 231.972,
    "s": 81.609,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60805,
    "c": 0.18448,
    "h": 273.1
  },
  "luminance": 0.21264
}

Semantic roles & 50–950 ramp

primary
#6174EF
secondary
#EDE7BE
accent
#C108DE
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6174EF

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

Preview Lab → · Contrast checker → · Palette generator →

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