#7174CA#7174CA

#7174CA is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.5% C 0.130 H 280.2°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#7174CA
RGBrgb(113, 116, 202)
HSLhsl(238, 46%, 62%)
HSVhsv(238, 44%, 79%)
CMYKcmyk(44.1%, 42.6%, 0%, 20.8%)
CIE-LABlab(52.14, 21.08, -45.14)
CIE-LCHlch(52.14, 49.82, 295.03°)
OKLaboklab(59.55% 0.0229 -0.1276)
OKLCHoklch(59.55% 0.13 280.2)
XYZxyz(23.7129, 20.2647, 58.5277)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7174CA #CAC771
analogous
#71A1CA #7174CA #9B71CA
triadic
#7174CA #CA7174 #74CA71
tetradic
#7174CA #CA71A1 #CAC771 #71CA9B
square
#7174CA #CA71A1 #CAC771 #71CA9B
split-complementary
#7174CA #CA9B71 #A1CA71
monochromatic
#34378C #4549B9 #7174CA #9EA0DB #CACBEB

Accessibility & contrast

On white

4.16
#7174CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#7174CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7174CA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7174CA#FFFFFF#000000##000000
##7174CA1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CD
Deuteranopia (green-blind)
#4E79C8
Tritanopia (blue-blind)
#548695
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7174ca;
/* rgb */ color: rgb(113, 116, 202);
/* oklch */ color: oklch(59.5% 0.130 280.2);
Tailwind
colors: {
  custom: {
    50: '#9e9cda',
    500: '#7174ca',
    950: '#000000',
  },
}
SCSS
$custom: #7174ca;
$custom-light: #9e9cda;
$custom-dark: #000000;
JSON
{
  "hex": "#7174ca",
  "rgb": {
    "r": 113,
    "g": 116,
    "b": 202
  },
  "hsl": {
    "h": 237.978,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59548,
    "c": 0.12962,
    "h": 280.2
  },
  "luminance": 0.20266
}

Semantic roles & 50–950 ramp

primary
#7174CA
secondary
#DCDBBB
accent
#B42DB9
background
#FAF9FD
surface
#F3F2FB
border
#CDCCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7174CA

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

Preview Lab → · Contrast checker → · Palette generator →

#7174CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva