#6174EE#6174EE

#6174EE is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.7% C 0.183 H 273.1°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#6174EE
RGBrgb(97, 116, 238)
HSLhsl(232, 81%, 66%)
HSVhsv(232, 59%, 93%)
CMYKcmyk(59.2%, 51.3%, 0%, 6.7%)
CIE-LABlab(53.17, 28.91, -63.85)
CIE-LCHlch(53.17, 70.09, 294.36°)
OKLaboklab(60.74% 0.0098 -0.1829)
OKLCHoklch(60.74% 0.183 273.1)
XYZxyz(26.6027, 21.2031, 83.5631)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6174EE #EEDB61
analogous
#61BAEE #6174EE #9461EE
triadic
#6174EE #EE6174 #74EE61
tetradic
#6174EE #EE61BA #EEDB61 #61EE94
square
#6174EE #EE61BA #EEDB61 #61EE94
split-complementary
#6174EE #EE9461 #BAEE61
monochromatic
#152CC0 #2A43E8 #6174EE #98A5F4 #D0D5FA

Accessibility & contrast

On white

4.01
#6174EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#6174EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6174EE
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6174EE#FFFFFF#000000##000000
##6174EE1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6174ee;
/* rgb */ color: rgb(97, 116, 238);
/* oklch */ color: oklch(60.7% 0.183 273.1);
Tailwind
colors: {
  custom: {
    50: '#9a9bf4',
    500: '#6174ee',
    950: '#000000',
  },
}
SCSS
$custom: #6174ee;
$custom-light: #9a9bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#6174ee",
  "rgb": {
    "r": 97,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 231.915,
    "s": 80.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60736,
    "c": 0.18314,
    "h": 273.1
  },
  "luminance": 0.21205
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6174EE

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

Preview Lab → · Contrast checker → · Palette generator →

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