#7174CC#7174CC

#7174CC is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.7% C 0.132 H 280.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7174CC
RGBrgb(113, 116, 204)
HSLhsl(238, 47%, 62%)
HSVhsv(238, 45%, 80%)
CMYKcmyk(44.6%, 43.1%, 0%, 20%)
CIE-LABlab(52.24, 21.67, -46.11)
CIE-LCHlch(52.24, 50.95, 295.17°)
OKLaboklab(59.66% 0.0232 -0.1304)
OKLCHoklch(59.66% 0.132 280.1)
XYZxyz(23.9513, 20.3600, 59.7829)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7174CC #CCC971
analogous
#71A2CC #7174CC #9C71CC
triadic
#7174CC #CC7174 #74CC71
tetradic
#7174CC #CC71A2 #CCC971 #71CC9C
square
#7174CC #CC71A2 #CCC971 #71CC9C
split-complementary
#7174CC #CC9C71 #A2CC71
monochromatic
#33368F #4448BC #7174CC #9EA0DC #CBCCEC

Accessibility & contrast

On white

4.14
#7174CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7174CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7174CC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7174CC#FFFFFF#000000##000000
##7174CC1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280CF
Deuteranopia (green-blind)
#4D79CA
Tritanopia (blue-blind)
#538696
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7174cc;
/* rgb */ color: rgb(113, 116, 204);
/* oklch */ color: oklch(59.7% 0.132 280.1);
Tailwind
colors: {
  custom: {
    50: '#9e9cdc',
    500: '#7174cc',
    950: '#000000',
  },
}
SCSS
$custom: #7174cc;
$custom-light: #9e9cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7174cc",
  "rgb": {
    "r": 113,
    "g": 116,
    "b": 204
  },
  "hsl": {
    "h": 238.022,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59664,
    "c": 0.13247,
    "h": 280.1
  },
  "luminance": 0.20361
}

Semantic roles & 50–950 ramp

primary
#7174CC
secondary
#DDDCBC
accent
#B62BBA
background
#FAF9FD
surface
#F3F2FB
border
#CDCCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7174CC

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

Preview Lab → · Contrast checker → · Palette generator →

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