#6271E5#6271E5

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

Color values

HEX#6271E5
RGBrgb(98, 113, 229)
HSLhsl(233, 72%, 64%)
HSVhsv(233, 57%, 90%)
CMYKcmyk(57.2%, 50.7%, 0%, 10.2%)
CIE-LABlab(51.91, 28.00, -60.84)
CIE-LCHlch(51.91, 66.98, 294.71°)
OKLaboklab(59.62% 0.0131 -0.174)
OKLCHoklch(59.62% 0.175 274.3)
XYZxyz(25.0804, 20.0622, 76.6643)
Luminance0.2006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6271E5 #E5D662
analogous
#62B3E5 #6271E5 #9562E5
triadic
#6271E5 #E56271 #71E562
tetradic
#6271E5 #E562B3 #E5D662 #62E595
square
#6271E5 #E562B3 #E5D662 #62E595
split-complementary
#6271E5 #E59562 #B3E562
monochromatic
#1D2EB0 #2D42DC #6271E5 #97A0EE #CBD0F6

Accessibility & contrast

On white

4.19
#6271E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#6271E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6271E5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6271E5#FFFFFF#000000##000000
##6271E51.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3282E9
Deuteranopia (green-blind)
#1776E3
Tritanopia (blue-blind)
#028BA0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6271e5;
/* rgb */ color: rgb(98, 113, 229);
/* oklch */ color: oklch(59.6% 0.175 274.3);
Tailwind
colors: {
  custom: {
    50: '#9999ee',
    500: '#6271e5',
    950: '#000000',
  },
}
SCSS
$custom: #6271e5;
$custom-light: #9999ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6271e5",
  "rgb": {
    "r": 98,
    "g": 113,
    "b": 229
  },
  "hsl": {
    "h": 233.13,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59617,
    "c": 0.17454,
    "h": 274.3
  },
  "luminance": 0.20064
}

Semantic roles & 50–950 ramp

primary
#6271E5
secondary
#E8E3BB
accent
#BD12D4
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E16
muted
#7F7E84

Preview Lab

Preview with #6271E5

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

Preview Lab → · Contrast checker → · Palette generator →

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