#6270EE#6270EE

#6270EE is a mid, vivid blue. Relative luminance 0.204; OKLCH L 60.1% C 0.188 H 274.5°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6270EE
RGBrgb(98, 112, 238)
HSLhsl(234, 80%, 66%)
HSVhsv(234, 59%, 93%)
CMYKcmyk(58.8%, 52.9%, 0%, 6.7%)
CIE-LABlab(52.24, 31.52, -65.35)
CIE-LCHlch(52.24, 72.56, 295.75°)
OKLaboklab(60.05% 0.0147 -0.1873)
OKLCHoklch(60.05% 0.188 274.5)
XYZxyz(26.2587, 20.3560, 83.4177)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6270EE #EEE062
analogous
#62B6EE #6270EE #9A62EE
triadic
#6270EE #EE6270 #70EE62
tetradic
#6270EE #EE62B6 #EEE062 #62EE9A
square
#6270EE #EE62B6 #EEE062 #62EE9A
split-complementary
#6270EE #EE9A62 #B6EE62
monochromatic
#1526C1 #2B3EE8 #6270EE #99A2F4 #D0D5FA

Accessibility & contrast

On white

4.14
#6270EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#6270EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6270EE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6270EE#FFFFFF#000000##000000
##6270EE1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F83F2
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#008DA4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6270ee;
/* rgb */ color: rgb(98, 112, 238);
/* oklch */ color: oklch(60.1% 0.188 274.5);
Tailwind
colors: {
  custom: {
    50: '#9a98f4',
    500: '#6270ee',
    950: '#000000',
  },
}
SCSS
$custom: #6270ee;
$custom-light: #9a98f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6270ee",
  "rgb": {
    "r": 98,
    "g": 112,
    "b": 238
  },
  "hsl": {
    "h": 234,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.6005,
    "c": 0.1879,
    "h": 274.5
  },
  "luminance": 0.20358
}

Semantic roles & 50–950 ramp

primary
#6270EE
secondary
#EDE8BF
accent
#C809DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6270EE

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

Preview Lab → · Contrast checker → · Palette generator →

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