#6271FD#6271FD

#6271FD is a mid, highly saturated blue. Relative luminance 0.215; OKLCH L 61.3% C 0.206 H 274.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6271FD
RGBrgb(98, 113, 253)
HSLhsl(234, 97%, 69%)
HSVhsv(234, 61%, 99%)
CMYKcmyk(61.3%, 55.3%, 0%, 0.8%)
CIE-LABlab(53.49, 35.79, -71.67)
CIE-LCHlch(53.49, 80.11, 296.54°)
OKLaboklab(61.31% 0.0144 -0.2059)
OKLCHoklch(61.31% 0.206 274)
XYZxyz(28.6659, 21.4964, 95.5481)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6271FD #FDEE62
analogous
#62BEFD #6271FD #A162FD
triadic
#6271FD #FD6271 #71FD62
tetradic
#6271FD #FD62BE #FDEE62 #62FDA1
square
#6271FD #FD62BE #FDEE62 #62FDA1
split-complementary
#6271FD #FDA162 #BEFD62
monochromatic
#0318E2 #263AFC #6271FD #9EA8FE #DBDEFF

Accessibility & contrast

On white

3.96
#6271FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#6271FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6271FD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6271FD#FFFFFF#000000##000000
##6271FD1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0087FF
Deuteranopia (green-blind)
#0079FA
Tritanopia (blue-blind)
#0092AC
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6271fd;
/* rgb */ color: rgb(98, 113, 253);
/* oklch */ color: oklch(61.3% 0.206 274.0);
Tailwind
colors: {
  custom: {
    50: '#9d99ff',
    500: '#6271fd',
    950: '#000000',
  },
}
SCSS
$custom: #6271fd;
$custom-light: #9d99ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6271fd",
  "rgb": {
    "r": 98,
    "g": 113,
    "b": 253
  },
  "hsl": {
    "h": 234.194,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.61306,
    "c": 0.20639,
    "h": 274
  },
  "luminance": 0.21499
}

Semantic roles & 50–950 ramp

primary
#6271FD
secondary
#F4F0C6
accent
#CF00E6
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#100E18
muted
#7F7E86

Preview Lab

Preview with #6271FD

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

Preview Lab → · Contrast checker → · Palette generator →

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