#6270DC#6270DC

#6270DC is a mid, vivid blue. Relative luminance 0.194; OKLCH L 58.8% C 0.164 H 274.7°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6270DC
RGBrgb(98, 112, 220)
HSLhsl(233, 64%, 62%)
HSVhsv(233, 55%, 86%)
CMYKcmyk(55.5%, 49.1%, 0%, 13.7%)
CIE-LABlab(51.09, 25.71, -57.08)
CIE-LCHlch(51.09, 62.60, 294.24°)
OKLaboklab(58.82% 0.0133 -0.163)
OKLCHoklch(58.82% 0.164 274.7)
XYZxyz(23.7453, 19.3506, 70.1800)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6270DC #DCCE62
analogous
#62ADDC #6270DC #9162DC
triadic
#6270DC #DC6270 #70DC62
tetradic
#6270DC #DC62AD #DCCE62 #62DC91
square
#6270DC #DC62AD #DCCE62 #62DC91
split-complementary
#6270DC #DC9162 #ADDC62
monochromatic
#2432A0 #3042D1 #6270DC #949EE7 #C6CBF2

Accessibility & contrast

On white

4.31
#6270DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#6270DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6270DC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6270DC#FFFFFF#000000##000000
##6270DC1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7FE0
Deuteranopia (green-blind)
#2875DA
Tritanopia (blue-blind)
#1E889B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6270dc;
/* rgb */ color: rgb(98, 112, 220);
/* oklch */ color: oklch(58.8% 0.164 274.7);
Tailwind
colors: {
  custom: {
    50: '#9898e7',
    500: '#6270dc',
    950: '#000000',
  },
}
SCSS
$custom: #6270dc;
$custom-light: #9898e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6270dc",
  "rgb": {
    "r": 98,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 233.115,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58824,
    "c": 0.16353,
    "h": 274.7
  },
  "luminance": 0.19352
}

Semantic roles & 50–950 ramp

primary
#6270DC
secondary
#E3DEB7
accent
#B71ACB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #6270DC

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

Preview Lab → · Contrast checker → · Palette generator →

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