#6270E8#6270E8

#6270E8 is a mid, vivid blue. Relative luminance 0.200; OKLCH L 59.6% C 0.180 H 274.6°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#6270E8
RGBrgb(98, 112, 232)
HSLhsl(234, 74%, 65%)
HSVhsv(234, 58%, 91%)
CMYKcmyk(57.8%, 51.7%, 0%, 9%)
CIE-LABlab(51.85, 29.58, -62.62)
CIE-LCHlch(51.85, 69.26, 295.28°)
OKLaboklab(59.63% 0.0144 -0.1793)
OKLCHoklch(59.63% 0.18 274.6)
XYZxyz(25.3919, 20.0093, 78.8524)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6270E8 #E8DA62
analogous
#62B3E8 #6270E8 #9762E8
triadic
#6270E8 #E86270 #70E862
tetradic
#6270E8 #E862B3 #E8DA62 #62E897
square
#6270E8 #E862B3 #E8DA62 #62E897
split-complementary
#6270E8 #E89762 #B3E862
monochromatic
#1B2BB5 #2D3FE0 #6270E8 #97A1F0 #CDD1F8

Accessibility & contrast

On white

4.20
#6270E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#6270E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6270E8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6270E8#FFFFFF#000000##000000
##6270E81.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B82EC
Deuteranopia (green-blind)
#0176E5
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6270e8;
/* rgb */ color: rgb(98, 112, 232);
/* oklch */ color: oklch(59.6% 0.180 274.6);
Tailwind
colors: {
  custom: {
    50: '#9998f0',
    500: '#6270e8',
    950: '#000000',
  },
}
SCSS
$custom: #6270e8;
$custom-light: #9998f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6270e8",
  "rgb": {
    "r": 98,
    "g": 112,
    "b": 232
  },
  "hsl": {
    "h": 233.731,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59633,
    "c": 0.17986,
    "h": 274.6
  },
  "luminance": 0.20011
}

Semantic roles & 50–950 ramp

primary
#6270E8
secondary
#EAE5BC
accent
#C20FD7
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6270E8

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

Preview Lab → · Contrast checker → · Palette generator →

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