#6270F5#6270F5

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

Color values

HEX#6270F5
RGBrgb(98, 112, 245)
HSLhsl(234, 88%, 67%)
HSVhsv(234, 60%, 96%)
CMYKcmyk(60%, 54.3%, 0%, 3.9%)
CIE-LABlab(52.70, 33.79, -68.50)
CIE-LCHlch(52.70, 76.39, 296.26°)
OKLaboklab(60.55% 0.015 -0.1966)
OKLCHoklch(60.55% 0.197 274.4)
XYZxyz(27.3072, 20.7754, 88.9395)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6270F5 #F5E762
analogous
#62B9F5 #6270F5 #9E62F5
triadic
#6270F5 #F56270 #70F562
tetradic
#6270F5 #F562B9 #F5E762 #62F59E
square
#6270F5 #F562B9 #F5E762 #62F59E
split-complementary
#6270F5 #F59E62 #B9F562
monochromatic
#0D20CF #283CF1 #6270F5 #9CA4F9 #D5D9FC

Accessibility & contrast

On white

4.07
#6270F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#6270F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6270F5
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6270F5#FFFFFF#000000##000000
##6270F51.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0784FA
Deuteranopia (green-blind)
#0078F2
Tritanopia (blue-blind)
#008FA8
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6270f5;
/* rgb */ color: rgb(98, 112, 245);
/* oklch */ color: oklch(60.5% 0.197 274.4);
Tailwind
colors: {
  custom: {
    50: '#9b99f9',
    500: '#6270f5',
    950: '#000000',
  },
}
SCSS
$custom: #6270f5;
$custom-light: #9b99f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6270f5",
  "rgb": {
    "r": 98,
    "g": 112,
    "b": 245
  },
  "hsl": {
    "h": 234.286,
    "s": 88.024,
    "l": 67.255
  },
  "oklch": {
    "l": 0.60547,
    "c": 0.19716,
    "h": 274.4
  },
  "luminance": 0.20778
}

Semantic roles & 50–950 ramp

primary
#6270F5
secondary
#F1ECC2
accent
#CF01E5
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0D17
muted
#7F7E85

Preview Lab

Preview with #6270F5

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

Preview Lab → · Contrast checker → · Palette generator →

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