#6174DE#6174DE

#6174DE is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.7% C 0.161 H 272.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6174DE
RGBrgb(97, 116, 222)
HSLhsl(231, 65%, 63%)
HSVhsv(231, 56%, 87%)
CMYKcmyk(56.3%, 47.7%, 0%, 12.9%)
CIE-LABlab(52.18, 23.71, -56.47)
CIE-LCHlch(52.18, 61.25, 292.77°)
OKLaboklab(59.67% 0.0083 -0.1612)
OKLCHoklch(59.67% 0.161 272.9)
XYZxyz(24.3557, 20.3043, 71.7288)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6174DE #DECB61
analogous
#61B2DE #6174DE #8C61DE
triadic
#6174DE #DE6174 #74DE61
tetradic
#6174DE #DE61B2 #DECB61 #61DE8C
square
#6174DE #DE61B2 #DECB61 #61DE8C
split-complementary
#6174DE #DE8C61 #B2DE61
monochromatic
#2236A3 #2E47D3 #6174DE #94A1E9 #C6CDF3

Accessibility & contrast

On white

4.15
#6174DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#6174DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6174DE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6174DE#FFFFFF#000000##000000
##6174DE1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4182E2
Deuteranopia (green-blind)
#2E77DC
Tritanopia (blue-blind)
#128C9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6174de;
/* rgb */ color: rgb(97, 116, 222);
/* oklch */ color: oklch(59.7% 0.161 272.9);
Tailwind
colors: {
  custom: {
    50: '#979be9',
    500: '#6174de',
    950: '#000000',
  },
}
SCSS
$custom: #6174de;
$custom-light: #979be9;
$custom-dark: #000000;
JSON
{
  "hex": "#6174de",
  "rgb": {
    "r": 97,
    "g": 116,
    "b": 222
  },
  "hsl": {
    "h": 230.88,
    "s": 65.445,
    "l": 62.549
  },
  "oklch": {
    "l": 0.59668,
    "c": 0.16139,
    "h": 272.9
  },
  "luminance": 0.20306
}

Semantic roles & 50–950 ramp

primary
#6174DE
secondary
#E4DDB7
accent
#B218CD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6174DE

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

Preview Lab → · Contrast checker → · Palette generator →

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