#6272F1#6272F1

#6272F1 is a mid, vivid blue. Relative luminance 0.210; OKLCH L 60.6% C 0.189 H 273.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#6272F1
RGBrgb(98, 114, 241)
HSLhsl(233, 84%, 66%)
HSVhsv(233, 59%, 95%)
CMYKcmyk(59.3%, 52.7%, 0%, 5.5%)
CIE-LABlab(52.93, 31.28, -65.91)
CIE-LCHlch(52.93, 72.96, 295.39°)
OKLaboklab(60.63% 0.013 -0.1889)
OKLCHoklch(60.63% 0.189 273.9)
XYZxyz(26.9263, 20.9801, 85.8327)
Luminance0.2098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6272F1 #F1E162
analogous
#62BAF1 #6272F1 #9A62F1
triadic
#6272F1 #F16272 #72F162
tetradic
#6272F1 #F162BA #F1E162 #62F19A
square
#6272F1 #F162BA #F1E162 #62F19A
split-complementary
#6272F1 #F19A62 #BAF162
monochromatic
#1226C7 #2A40EC #6272F1 #9AA4F6 #D2D7FB

Accessibility & contrast

On white

4.04
#6272F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#6272F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6272F1
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6272F1#FFFFFF#000000##000000
##6272F11.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2185F5
Deuteranopia (green-blind)
#0078EE
Tritanopia (blue-blind)
#0090A7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6272f1;
/* rgb */ color: rgb(98, 114, 241);
/* oklch */ color: oklch(60.6% 0.189 273.9);
Tailwind
colors: {
  custom: {
    50: '#9b9af6',
    500: '#6272f1',
    950: '#000000',
  },
}
SCSS
$custom: #6272f1;
$custom-light: #9b9af6;
$custom-dark: #000000;
JSON
{
  "hex": "#6272f1",
  "rgb": {
    "r": 98,
    "g": 114,
    "b": 241
  },
  "hsl": {
    "h": 233.287,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.60631,
    "c": 0.18939,
    "h": 273.9
  },
  "luminance": 0.20982
}

Semantic roles & 50–950 ramp

primary
#6272F1
secondary
#EFE9C0
accent
#C805E0
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6272F1

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

Preview Lab → · Contrast checker → · Palette generator →

#6272F1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva