#7074CD#7074CD

#7074CD is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.6% C 0.134 H 279.6°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7074CD
RGBrgb(112, 116, 205)
HSLhsl(237, 48%, 62%)
HSVhsv(237, 45%, 80%)
CMYKcmyk(45.4%, 43.4%, 0%, 19.6%)
CIE-LABlab(52.22, 21.72, -46.72)
CIE-LCHlch(52.22, 51.52, 294.94°)
OKLaboklab(59.65% 0.0223 -0.1322)
OKLCHoklch(59.65% 0.134 279.6)
XYZxyz(23.9436, 20.3421, 60.4106)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7074CD #CDC970
analogous
#70A3CD #7074CD #9A70CD
triadic
#7074CD #CD7074 #74CD70
tetradic
#7074CD #CD70A3 #CDC970 #70CD9A
square
#7074CD #CD70A3 #CDC970 #70CD9A
split-complementary
#7074CD #CD9A70 #A3CD70
monochromatic
#323690 #4348BD #7074CD #9DA0DD #CBCCED

Accessibility & contrast

On white

4.14
#7074CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#7074CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7074CD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7074CD#FFFFFF#000000##000000
##7074CD1.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)
#5280D0
Deuteranopia (green-blind)
#4B79CB
Tritanopia (blue-blind)
#508696
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7074cd;
/* rgb */ color: rgb(112, 116, 205);
/* oklch */ color: oklch(59.6% 0.134 279.6);
Tailwind
colors: {
  custom: {
    50: '#9e9bdd',
    500: '#7074cd',
    950: '#000000',
  },
}
SCSS
$custom: #7074cd;
$custom-light: #9e9bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7074cd",
  "rgb": {
    "r": 112,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 237.419,
    "s": 48.187,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59647,
    "c": 0.13407,
    "h": 279.6
  },
  "luminance": 0.20343
}

Semantic roles & 50–950 ramp

primary
#7074CD
secondary
#DDDCBB
accent
#B52ABB
background
#FAF9FD
surface
#F3F2FB
border
#CDCCD4
text
#0F0E15
muted
#7F7E83

Preview Lab

Preview with #7074CD

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

Preview Lab → · Contrast checker → · Palette generator →

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