#6270EA#6270EA

#6270EA is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.8% C 0.183 H 274.5°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6270EA
RGBrgb(98, 112, 234)
HSLhsl(234, 76%, 65%)
HSVhsv(234, 58%, 92%)
CMYKcmyk(58.1%, 52.1%, 0%, 8.2%)
CIE-LABlab(51.98, 30.22, -63.54)
CIE-LCHlch(51.98, 70.36, 295.44°)
OKLaboklab(59.77% 0.0145 -0.182)
OKLCHoklch(59.77% 0.183 274.5)
XYZxyz(25.6776, 20.1236, 80.3571)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6270EA #EADC62
analogous
#62B4EA #6270EA #9862EA
triadic
#6270EA #EA6270 #70EA62
tetradic
#6270EA #EA62B4 #EADC62 #62EA98
square
#6270EA #EA62B4 #EADC62 #62EA98
split-complementary
#6270EA #EA9862 #B4EA62
monochromatic
#1929B9 #2C3FE3 #6270EA #98A1F1 #CED2F8

Accessibility & contrast

On white

4.18
#6270EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#6270EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6270EA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6270EA#FFFFFF#000000##000000
##6270EA1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2782EE
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#008CA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6270ea;
/* rgb */ color: rgb(98, 112, 234);
/* oklch */ color: oklch(59.8% 0.183 274.5);
Tailwind
colors: {
  custom: {
    50: '#9a98f1',
    500: '#6270ea',
    950: '#000000',
  },
}
SCSS
$custom: #6270ea;
$custom-light: #9a98f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6270ea",
  "rgb": {
    "r": 98,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 233.824,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59771,
    "c": 0.18256,
    "h": 274.5
  },
  "luminance": 0.20126
}

Semantic roles & 50–950 ramp

primary
#6270EA
secondary
#EBE6BD
accent
#C40DD9
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6270EA

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

Preview Lab → · Contrast checker → · Palette generator →

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