#6271E7#6271E7

#6271E7 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.8% C 0.177 H 274.3°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6271E7
RGBrgb(98, 113, 231)
HSLhsl(233, 73%, 65%)
HSVhsv(233, 58%, 91%)
CMYKcmyk(57.6%, 51.1%, 0%, 9.4%)
CIE-LABlab(52.03, 28.64, -61.76)
CIE-LCHlch(52.03, 68.08, 294.88°)
OKLaboklab(59.75% 0.0133 -0.1767)
OKLCHoklch(59.75% 0.177 274.3)
XYZxyz(25.3612, 20.1745, 78.1434)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6271E7 #E7D862
analogous
#62B4E7 #6271E7 #9662E7
triadic
#6271E7 #E76271 #71E762
tetradic
#6271E7 #E762B4 #E7D862 #62E796
square
#6271E7 #E762B4 #E7D862 #62E796
split-complementary
#6271E7 #E79662 #B4E762
monochromatic
#1B2DB3 #2D41DF #6271E7 #97A1EF #CCD1F7

Accessibility & contrast

On white

4.17
#6271E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#6271E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6271E7
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6271E7#FFFFFF#000000##000000
##6271E71.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F82EB
Deuteranopia (green-blind)
#0F77E5
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6271e7;
/* rgb */ color: rgb(98, 113, 231);
/* oklch */ color: oklch(59.8% 0.177 274.3);
Tailwind
colors: {
  custom: {
    50: '#9999ef',
    500: '#6271e7',
    950: '#000000',
  },
}
SCSS
$custom: #6271e7;
$custom-light: #9999ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6271e7",
  "rgb": {
    "r": 98,
    "g": 113,
    "b": 231
  },
  "hsl": {
    "h": 233.233,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59753,
    "c": 0.17725,
    "h": 274.3
  },
  "luminance": 0.20176
}

Semantic roles & 50–950 ramp

primary
#6271E7
secondary
#E9E4BB
accent
#BF10D6
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6271E7

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

Preview Lab → · Contrast checker → · Palette generator →

#6271E7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva