#6271CE#6271CE

#6271CE is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.1% C 0.143 H 274.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#6271CE
RGBrgb(98, 113, 206)
HSLhsl(232, 52%, 60%)
HSVhsv(232, 52%, 81%)
CMYKcmyk(52.4%, 45.1%, 0%, 19.2%)
CIE-LABlab(50.52, 20.62, -50.05)
CIE-LCHlch(50.52, 54.13, 292.39°)
OKLaboklab(58.13% 0.0105 -0.1423)
OKLCHoklch(58.13% 0.143 274.2)
XYZxyz(22.0791, 18.8617, 60.8578)
Luminance0.1886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6271CE #CEBF62
analogous
#62A7CE #6271CE #8962CE
triadic
#6271CE #CE6271 #71CE62
tetradic
#6271CE #CE62A7 #CEBF62 #62CE89
square
#6271CE #CE62A7 #CEBF62 #62CE89
split-complementary
#6271CE #CE8962 #A7CE62
monochromatic
#2B388A #3A4BB9 #6271CE #919BDD #BFC5EB

Accessibility & contrast

On white

4.40
#6271CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#6271CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6271CE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6271CE#FFFFFF#000000##000000
##6271CE1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#497DD1
Deuteranopia (green-blind)
#3D74CC
Tritanopia (blue-blind)
#318595
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #6271ce;
/* rgb */ color: rgb(98, 113, 206);
/* oklch */ color: oklch(58.1% 0.143 274.2);
Tailwind
colors: {
  custom: {
    50: '#9699dd',
    500: '#6271ce',
    950: '#000000',
  },
}
SCSS
$custom: #6271ce;
$custom-light: #9699dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6271ce",
  "rgb": {
    "r": 98,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 231.667,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58125,
    "c": 0.14271,
    "h": 274.2
  },
  "luminance": 0.18863
}

Semantic roles & 50–950 ramp

primary
#6271CE
secondary
#DBD5B1
accent
#C84CDC
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #6271CE

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

Preview Lab → · Contrast checker → · Palette generator →

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