#7070CB#7070CB

#7070CB is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.8% C 0.137 H 281.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#7070CB
RGBrgb(112, 112, 203)
HSLhsl(240, 47%, 62%)
HSVhsv(240, 45%, 80%)
CMYKcmyk(44.8%, 44.8%, 0%, 20.4%)
CIE-LABlab(51.09, 23.55, -47.38)
CIE-LCHlch(51.09, 52.91, 296.42°)
OKLaboklab(58.75% 0.0269 -0.1342)
OKLCHoklch(58.75% 0.137 281.3)
XYZxyz(23.2525, 19.3438, 58.9969)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7070CB #CBCB70
analogous
#709ECB #7070CB #9E70CB
triadic
#7070CB #CB7070 #70CB70
tetradic
#7070CB #CB709E #CBCB70 #70CB9E
square
#7070CB #CB709E #CBCB70 #70CB9E
split-complementary
#7070CB #CB9E70 #9ECB70
monochromatic
#33338D #4444BA #7070CB #9D9DDB #CACAEC

Accessibility & contrast

On white

4.31
#7070CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#7070CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7070CB
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7070CB#FFFFFF#000000##000000
##7070CB1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C7DCE
Deuteranopia (green-blind)
#4776C9
Tritanopia (blue-blind)
#528394
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7070cb;
/* rgb */ color: rgb(112, 112, 203);
/* oklch */ color: oklch(58.8% 0.137 281.3);
Tailwind
colors: {
  custom: {
    50: '#9e99db',
    500: '#7070cb',
    950: '#000000',
  },
}
SCSS
$custom: #7070cb;
$custom-light: #9e99db;
$custom-dark: #000000;
JSON
{
  "hex": "#7070cb",
  "rgb": {
    "r": 112,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 240,
    "s": 46.667,
    "l": 61.765
  },
  "oklch": {
    "l": 0.5875,
    "c": 0.13685,
    "h": 281.3
  },
  "luminance": 0.19345
}

Semantic roles & 50–950 ramp

primary
#7070CB
secondary
#DCDCBB
accent
#BA2CBA
background
#FAF9FD
surface
#F3F2FB
border
#CDCCD4
text
#0F0D15
muted
#7F7E83

Preview Lab

Preview with #7070CB

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

Preview Lab → · Contrast checker → · Palette generator →

#7070CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva