#6270ED#6270ED

#6270ED is a mid, vivid blue. Relative luminance 0.203; OKLCH L 60.0% C 0.187 H 274.5°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6270ED
RGBrgb(98, 112, 237)
HSLhsl(234, 79%, 66%)
HSVhsv(234, 59%, 93%)
CMYKcmyk(58.6%, 52.7%, 0%, 7.1%)
CIE-LABlab(52.17, 31.20, -64.90)
CIE-LCHlch(52.17, 72.01, 295.67°)
OKLaboklab(59.98% 0.0147 -0.186)
OKLCHoklch(59.98% 0.187 274.5)
XYZxyz(26.1122, 20.2974, 82.6461)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6270ED #EDDF62
analogous
#62B5ED #6270ED #9962ED
triadic
#6270ED #ED6270 #70ED62
tetradic
#6270ED #ED62B5 #EDDF62 #62ED99
square
#6270ED #ED62B5 #EDDF62 #62ED99
split-complementary
#6270ED #ED9962 #B5ED62
monochromatic
#1627BF #2B3EE7 #6270ED #99A2F3 #D0D4FA

Accessibility & contrast

On white

4.15
#6270ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#6270ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6270ED
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6270ED#FFFFFF#000000##000000
##6270ED1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2283F1
Deuteranopia (green-blind)
#0077EA
Tritanopia (blue-blind)
#008DA4
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6270ed;
/* rgb */ color: rgb(98, 112, 237);
/* oklch */ color: oklch(60.0% 0.187 274.5);
Tailwind
colors: {
  custom: {
    50: '#9a98f4',
    500: '#6270ed',
    950: '#000000',
  },
}
SCSS
$custom: #6270ed;
$custom-light: #9a98f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6270ed",
  "rgb": {
    "r": 98,
    "g": 112,
    "b": 237
  },
  "hsl": {
    "h": 233.957,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.5998,
    "c": 0.18657,
    "h": 274.5
  },
  "luminance": 0.20299
}

Semantic roles & 50–950 ramp

primary
#6270ED
secondary
#EDE8BE
accent
#C70ADC
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6270ED

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

Preview Lab → · Contrast checker → · Palette generator →

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