#6271ED#6271ED

#6271ED is a mid, vivid blue. Relative luminance 0.205; OKLCH L 60.2% C 0.185 H 274.2°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6271ED
RGBrgb(98, 113, 237)
HSLhsl(234, 79%, 66%)
HSVhsv(234, 59%, 93%)
CMYKcmyk(58.6%, 52.3%, 0%, 7.1%)
CIE-LABlab(52.42, 30.59, -64.50)
CIE-LCHlch(52.42, 71.39, 295.37°)
OKLaboklab(60.17% 0.0137 -0.1848)
OKLCHoklch(60.17% 0.185 274.2)
XYZxyz(26.2232, 20.5193, 82.6831)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6271ED #EDDE62
analogous
#62B6ED #6271ED #9862ED
triadic
#6271ED #ED6271 #71ED62
tetradic
#6271ED #ED62B6 #EDDE62 #62ED98
square
#6271ED #ED62B6 #EDDE62 #62ED98
split-complementary
#6271ED #ED9862 #B6ED62
monochromatic
#1628BF #2B3FE7 #6271ED #99A3F3 #D0D4FA

Accessibility & contrast

On white

4.11
#6271ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#6271ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6271ED
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6271ED#FFFFFF#000000##000000
##6271ED1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2583F1
Deuteranopia (green-blind)
#0077EA
Tritanopia (blue-blind)
#008EA4
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6271ed;
/* rgb */ color: rgb(98, 113, 237);
/* oklch */ color: oklch(60.2% 0.185 274.2);
Tailwind
colors: {
  custom: {
    50: '#9a99f4',
    500: '#6271ed',
    950: '#000000',
  },
}
SCSS
$custom: #6271ed;
$custom-light: #9a99f4;
$custom-dark: #000000;
JSON
{
  "hex": "#6271ed",
  "rgb": {
    "r": 98,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 233.525,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60166,
    "c": 0.18531,
    "h": 274.2
  },
  "luminance": 0.20521
}

Semantic roles & 50–950 ramp

primary
#6271ED
secondary
#EDE8BE
accent
#C50ADC
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6271ED

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

Preview Lab → · Contrast checker → · Palette generator →

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