#7057EF#7057EF

#7057EF is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.9% C 0.218 H 284.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#7057EF
RGBrgb(112, 87, 239)
HSLhsl(250, 83%, 64%)
HSVhsv(250, 64%, 94%)
CMYKcmyk(53.1%, 63.6%, 0%, 6.3%)
CIE-LABlab(47.61, 48.98, -73.37)
CIE-LCHlch(47.61, 88.22, 303.73°)
OKLaboklab(56.92% 0.055 -0.2107)
OKLCHoklch(56.92% 0.218 284.6)
XYZxyz(25.6656, 16.4917, 83.4754)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7057EF #D6EF57
analogous
#578AEF #7057EF #BC57EF
triadic
#7057EF #EF7057 #57EF70
tetradic
#7057EF #EF578A #D6EF57 #57EFBC
square
#7057EF #EF578A #D6EF57 #57EFBC
split-complementary
#7057EF #EFBC57 #8AEF57
monochromatic
#2D12BA #401FEA #7057EF #A08FF4 #CFC7FA

Accessibility & contrast

On white

4.89
#7057EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7057EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7057EF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7057EF#FFFFFF#000000##FFFFFF
##7057EF1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#006CEC
Tritanopia (blue-blind)
#3A7D9B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7057ef;
/* rgb */ color: rgb(112, 87, 239);
/* oklch */ color: oklch(56.9% 0.218 284.6);
Tailwind
colors: {
  custom: {
    50: '#a388f5',
    500: '#7057ef',
    950: '#000000',
  },
}
SCSS
$custom: #7057ef;
$custom-light: #a388f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7057ef",
  "rgb": {
    "r": 112,
    "g": 87,
    "b": 239
  },
  "hsl": {
    "h": 249.868,
    "s": 82.609,
    "l": 63.922
  },
  "oklch": {
    "l": 0.56916,
    "c": 0.21771,
    "h": 284.6
  },
  "luminance": 0.16493
}

Semantic roles & 50–950 ramp

primary
#7057EF
secondary
#E3ECB6
accent
#DF06BB
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7057EF

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

Preview Lab → · Contrast checker → · Palette generator →

#7057EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva