#6270E2#6270E2

#6270E2 is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.2% C 0.172 H 274.6°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#6270E2
RGBrgb(98, 112, 226)
HSLhsl(233, 69%, 64%)
HSVhsv(233, 57%, 89%)
CMYKcmyk(56.6%, 50.4%, 0%, 11.4%)
CIE-LABlab(51.47, 27.64, -59.87)
CIE-LCHlch(51.47, 65.94, 294.78°)
OKLaboklab(59.23% 0.0139 -0.1712)
OKLCHoklch(59.23% 0.172 274.6)
XYZxyz(24.5542, 19.6742, 74.4404)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6270E2 #E2D462
analogous
#62B0E2 #6270E2 #9462E2
triadic
#6270E2 #E26270 #70E262
tetradic
#6270E2 #E262B0 #E2D462 #62E294
square
#6270E2 #E262B0 #E2D462 #62E294
split-complementary
#6270E2 #E29462 #B0E262
monochromatic
#1F2FAA #2E41D8 #6270E2 #969FEC #C9CEF5

Accessibility & contrast

On white

4.26
#6270E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#6270E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6270E2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6270E2#FFFFFF#000000##000000
##6270E21.004.264.944.94
#FFFFFF4.261.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3380E6
Deuteranopia (green-blind)
#1B75E0
Tritanopia (blue-blind)
#0F8A9E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6270e2;
/* rgb */ color: rgb(98, 112, 226);
/* oklch */ color: oklch(59.2% 0.172 274.6);
Tailwind
colors: {
  custom: {
    50: '#9898ec',
    500: '#6270e2',
    950: '#000000',
  },
}
SCSS
$custom: #6270e2;
$custom-light: #9898ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6270e2",
  "rgb": {
    "r": 98,
    "g": 112,
    "b": 226
  },
  "hsl": {
    "h": 233.438,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59225,
    "c": 0.17174,
    "h": 274.6
  },
  "luminance": 0.19676
}

Semantic roles & 50–950 ramp

primary
#6270E2
secondary
#E7E2B9
accent
#BC15D1
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #6270E2

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

Preview Lab → · Contrast checker → · Palette generator →

#6270E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva