#6271E9#6271E9

#6271E9 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.9% C 0.180 H 274.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#6271E9
RGBrgb(98, 113, 233)
HSLhsl(233, 75%, 65%)
HSVhsv(233, 58%, 91%)
CMYKcmyk(57.9%, 51.5%, 0%, 8.6%)
CIE-LABlab(52.16, 29.29, -62.68)
CIE-LCHlch(52.16, 69.19, 295.05°)
OKLaboklab(59.89% 0.0134 -0.1794)
OKLCHoklch(59.89% 0.18 274.3)
XYZxyz(25.6453, 20.2882, 79.6396)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6271E9 #E9DA62
analogous
#62B5E9 #6271E9 #9662E9
triadic
#6271E9 #E96271 #71E962
tetradic
#6271E9 #E962B5 #E9DA62 #62E996
square
#6271E9 #E962B5 #E9DA62 #62E996
split-complementary
#6271E9 #E99662 #B5E962
monochromatic
#1A2BB7 #2C40E1 #6271E9 #98A2F1 #CDD2F8

Accessibility & contrast

On white

4.15
#6271E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#6271E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6271E9
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6271E9#FFFFFF#000000##000000
##6271E91.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C82ED
Deuteranopia (green-blind)
#0477E6
Tritanopia (blue-blind)
#008DA2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6271e9;
/* rgb */ color: rgb(98, 113, 233);
/* oklch */ color: oklch(59.9% 0.180 274.3);
Tailwind
colors: {
  custom: {
    50: '#9999f1',
    500: '#6271e9',
    950: '#000000',
  },
}
SCSS
$custom: #6271e9;
$custom-light: #9999f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6271e9",
  "rgb": {
    "r": 98,
    "g": 113,
    "b": 233
  },
  "hsl": {
    "h": 233.333,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.5989,
    "c": 0.17994,
    "h": 274.3
  },
  "luminance": 0.2029
}

Semantic roles & 50–950 ramp

primary
#6271E9
secondary
#EAE5BC
accent
#C10ED8
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6271E9

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

Preview Lab → · Contrast checker → · Palette generator →

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