#6271E6#6271E6

#6271E6 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.7% C 0.176 H 274.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#6271E6
RGBrgb(98, 113, 230)
HSLhsl(233, 73%, 64%)
HSVhsv(233, 57%, 90%)
CMYKcmyk(57.4%, 50.9%, 0%, 9.8%)
CIE-LABlab(51.97, 28.32, -61.30)
CIE-LCHlch(51.97, 67.53, 294.80°)
OKLaboklab(59.69% 0.0132 -0.1754)
OKLCHoklch(59.69% 0.176 274.3)
XYZxyz(25.2204, 20.1182, 77.4018)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6271E6 #E6D762
analogous
#62B3E6 #6271E6 #9562E6
triadic
#6271E6 #E66271 #71E662
tetradic
#6271E6 #E662B3 #E6D762 #62E695
square
#6271E6 #E662B3 #E6D762 #62E695
split-complementary
#6271E6 #E69562 #B3E662
monochromatic
#1C2DB1 #2D41DE #6271E6 #97A1EE #CCD0F7

Accessibility & contrast

On white

4.18
#6271E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#6271E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6271E6
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6271E6#FFFFFF#000000##000000
##6271E61.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3182EA
Deuteranopia (green-blind)
#1376E4
Tritanopia (blue-blind)
#008CA1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6271e6;
/* rgb */ color: rgb(98, 113, 230);
/* oklch */ color: oklch(59.7% 0.176 274.3);
Tailwind
colors: {
  custom: {
    50: '#9999ef',
    500: '#6271e6',
    950: '#000000',
  },
}
SCSS
$custom: #6271e6;
$custom-light: #9999ef;
$custom-dark: #000000;
JSON
{
  "hex": "#6271e6",
  "rgb": {
    "r": 98,
    "g": 113,
    "b": 230
  },
  "hsl": {
    "h": 233.182,
    "s": 72.527,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59685,
    "c": 0.1759,
    "h": 274.3
  },
  "luminance": 0.2012
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6271E6

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

Preview Lab → · Contrast checker → · Palette generator →

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