#6174CD#6174CD

#6174CD is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.6% C 0.138 H 272.4°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#6174CD
RGBrgb(97, 116, 205)
HSLhsl(229, 52%, 59%)
HSVhsv(229, 53%, 80%)
CMYKcmyk(52.7%, 43.4%, 0%, 19.6%)
CIE-LABlab(51.20, 18.24, -48.41)
CIE-LCHlch(51.20, 51.73, 290.65°)
OKLaboklab(58.6% 0.0058 -0.1375)
OKLCHoklch(58.6% 0.138 272.4)
XYZxyz(22.1910, 19.4385, 60.3284)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6174CD #CDBA61
analogous
#61AACD #6174CD #8461CD
triadic
#6174CD #CD6174 #74CD61
tetradic
#6174CD #CD61AA #CDBA61 #61CD84
square
#6174CD #CD61AA #CDBA61 #61CD84
split-complementary
#6174CD #CD8461 #AACD61
monochromatic
#2B3C88 #3A50B7 #6174CD #8F9DDC #BEC6EA

Accessibility & contrast

On white

4.30
#6174CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#6174CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6174CD
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6174CD#FFFFFF#000000##000000
##6174CD1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E7FD0
Deuteranopia (green-blind)
#4276CB
Tritanopia (blue-blind)
#2E8796
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6174cd;
/* rgb */ color: rgb(97, 116, 205);
/* oklch */ color: oklch(58.6% 0.138 272.4);
Tailwind
colors: {
  custom: {
    50: '#959bdd',
    500: '#6174cd',
    950: '#000000',
  },
}
SCSS
$custom: #6174cd;
$custom-light: #959bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#6174cd",
  "rgb": {
    "r": 97,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 229.444,
    "s": 51.923,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58602,
    "c": 0.13763,
    "h": 272.4
  },
  "luminance": 0.1944
}

Semantic roles & 50–950 ramp

primary
#6174CD
secondary
#DAD3B0
accent
#C24CDB
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6174CD

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

Preview Lab → · Contrast checker → · Palette generator →

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