#6270DF#6270DF

#6270DF is a mid, vivid blue. Relative luminance 0.195; OKLCH L 59.0% C 0.168 H 274.7°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#6270DF
RGBrgb(98, 112, 223)
HSLhsl(233, 66%, 63%)
HSVhsv(233, 56%, 87%)
CMYKcmyk(56.1%, 49.8%, 0%, 12.5%)
CIE-LABlab(51.28, 26.67, -58.48)
CIE-LCHlch(51.28, 64.27, 294.52°)
OKLaboklab(59.02% 0.0136 -0.1671)
OKLCHoklch(59.02% 0.168 274.7)
XYZxyz(24.1461, 19.5110, 72.2913)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6270DF #DFD162
analogous
#62AEDF #6270DF #9262DF
triadic
#6270DF #DF6270 #70DF62
tetradic
#6270DF #DF62AE #DFD162 #62DF92
square
#6270DF #DF62AE #DFD162 #62DF92
split-complementary
#6270DF #DF9262 #AEDF62
monochromatic
#2230A5 #2F42D5 #6270DF #959EE9 #C8CDF4

Accessibility & contrast

On white

4.28
#6270DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#6270DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6270DF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6270DF#FFFFFF#000000##000000
##6270DF1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3780E3
Deuteranopia (green-blind)
#2275DD
Tritanopia (blue-blind)
#18899D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #6270df;
/* rgb */ color: rgb(98, 112, 223);
/* oklch */ color: oklch(59.0% 0.168 274.7);
Tailwind
colors: {
  custom: {
    50: '#9898ea',
    500: '#6270df',
    950: '#000000',
  },
}
SCSS
$custom: #6270df;
$custom-light: #9898ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6270df",
  "rgb": {
    "r": 98,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 233.28,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.59023,
    "c": 0.16764,
    "h": 274.7
  },
  "luminance": 0.19513
}

Semantic roles & 50–950 ramp

primary
#6270DF
secondary
#E5E0B8
accent
#BA17CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0D16
muted
#7E7E84

Preview Lab

Preview with #6270DF

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

Preview Lab → · Contrast checker → · Palette generator →

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