#7058EB#7058EB

#7058EB is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.8% C 0.212 H 284.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7058EB
RGBrgb(112, 88, 235)
HSLhsl(250, 79%, 63%)
HSVhsv(250, 63%, 92%)
CMYKcmyk(52.3%, 62.6%, 0%, 7.8%)
CIE-LABlab(47.52, 47.25, -71.27)
CIE-LCHlch(47.52, 85.51, 303.54°)
OKLaboklab(56.76% 0.0544 -0.2045)
OKLCHoklch(56.76% 0.212 284.9)
XYZxyz(25.1627, 16.4210, 80.4248)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7058EB #D3EB58
analogous
#5889EB #7058EB #B958EB
triadic
#7058EB #EB7058 #58EB70
tetradic
#7058EB #EB5889 #D3EB58 #58EBB9
square
#7058EB #EB5889 #D3EB58 #58EBB9
split-complementary
#7058EB #EBB958 #89EB58
monochromatic
#2F15B3 #4121E4 #7058EB #9F8FF2 #CEC5F8

Accessibility & contrast

On white

4.90
#7058EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7058EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7058EB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7058EB#FFFFFF#000000##FFFFFF
##7058EB1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#006CE8
Tritanopia (blue-blind)
#3E7C99
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7058eb;
/* rgb */ color: rgb(112, 88, 235);
/* oklch */ color: oklch(56.8% 0.212 284.9);
Tailwind
colors: {
  custom: {
    50: '#a388f2',
    500: '#7058eb',
    950: '#000000',
  },
}
SCSS
$custom: #7058eb;
$custom-light: #a388f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7058eb",
  "rgb": {
    "r": 112,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 249.796,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56756,
    "c": 0.2116,
    "h": 284.9
  },
  "luminance": 0.16422
}

Semantic roles & 50–950 ramp

primary
#7058EB
secondary
#E1EAB5
accent
#DB0BB9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7058EB

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

Preview Lab → · Contrast checker → · Palette generator →

#7058EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva