#6270F6#6270F6

#6270F6 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.6% C 0.198 H 274.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6270F6
RGBrgb(98, 112, 246)
HSLhsl(234, 89%, 67%)
HSVhsv(234, 60%, 96%)
CMYKcmyk(60.2%, 54.5%, 0%, 3.5%)
CIE-LABlab(52.77, 34.12, -68.95)
CIE-LCHlch(52.77, 76.93, 296.33°)
OKLaboklab(60.62% 0.0151 -0.1979)
OKLCHoklch(60.62% 0.198 274.4)
XYZxyz(27.4603, 20.8366, 89.7457)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6270F6 #F6E862
analogous
#62BAF6 #6270F6 #9E62F6
triadic
#6270F6 #F66270 #70F662
tetradic
#6270F6 #F662BA #F6E862 #62F69E
square
#6270F6 #F662BA #F6E862 #62F69E
split-complementary
#6270F6 #F69E62 #BAF662
monochromatic
#0C1FD2 #283BF3 #6270F6 #9CA5F9 #D6D9FD

Accessibility & contrast

On white

4.06
#6270F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#6270F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6270F6
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6270F6#FFFFFF#000000##000000
##6270F61.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0185FB
Deuteranopia (green-blind)
#0078F3
Tritanopia (blue-blind)
#0090A8
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6270f6;
/* rgb */ color: rgb(98, 112, 246);
/* oklch */ color: oklch(60.6% 0.198 274.4);
Tailwind
colors: {
  custom: {
    50: '#9c99fa',
    500: '#6270f6',
    950: '#000000',
  },
}
SCSS
$custom: #6270f6;
$custom-light: #9c99fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6270f6",
  "rgb": {
    "r": 98,
    "g": 112,
    "b": 246
  },
  "hsl": {
    "h": 234.324,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.60619,
    "c": 0.19848,
    "h": 274.4
  },
  "luminance": 0.20839
}

Semantic roles & 50–950 ramp

primary
#6270F6
secondary
#F1EDC3
accent
#D000E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6270F6

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

Preview Lab → · Contrast checker → · Palette generator →

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