#6272EA#6272EA

#6272EA is a mid, vivid blue. Relative luminance 0.206; OKLCH L 60.1% C 0.180 H 274.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#6272EA
RGBrgb(98, 114, 234)
HSLhsl(233, 76%, 65%)
HSVhsv(233, 58%, 92%)
CMYKcmyk(58.1%, 51.3%, 0%, 8.2%)
CIE-LABlab(52.48, 29.01, -62.73)
CIE-LCHlch(52.48, 69.12, 294.82°)
OKLaboklab(60.15% 0.0125 -0.1796)
OKLCHoklch(60.15% 0.18 274)
XYZxyz(25.9007, 20.5698, 80.4314)
Luminance0.2057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6272EA #EADA62
analogous
#62B6EA #6272EA #9662EA
triadic
#6272EA #EA6272 #72EA62
tetradic
#6272EA #EA62B6 #EADA62 #62EA96
square
#6272EA #EA62B6 #EADA62 #62EA96
split-complementary
#6272EA #EA9662 #B6EA62
monochromatic
#192CB9 #2C42E3 #6272EA #98A2F1 #CED3F8

Accessibility & contrast

On white

4.11
#6272EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#6272EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6272EA
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6272EA#FFFFFF#000000##000000
##6272EA1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E83EE
Deuteranopia (green-blind)
#0778E7
Tritanopia (blue-blind)
#008EA3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6272ea;
/* rgb */ color: rgb(98, 114, 234);
/* oklch */ color: oklch(60.1% 0.180 274.0);
Tailwind
colors: {
  custom: {
    50: '#9a9af1',
    500: '#6272ea',
    950: '#000000',
  },
}
SCSS
$custom: #6272ea;
$custom-light: #9a9af1;
$custom-dark: #000000;
JSON
{
  "hex": "#6272ea",
  "rgb": {
    "r": 98,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 232.941,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60147,
    "c": 0.18002,
    "h": 274
  },
  "luminance": 0.20572
}

Semantic roles & 50–950 ramp

primary
#6272EA
secondary
#EBE6BD
accent
#C10DD9
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6272EA

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

Preview Lab → · Contrast checker → · Palette generator →

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