#6272EF#6272EF

#6272EF is a mid, vivid blue. Relative luminance 0.209; OKLCH L 60.5% C 0.187 H 273.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6272EF
RGBrgb(98, 114, 239)
HSLhsl(233, 82%, 66%)
HSVhsv(233, 59%, 94%)
CMYKcmyk(59%, 52.3%, 0%, 6.3%)
CIE-LABlab(52.80, 30.63, -65.01)
CIE-LCHlch(52.80, 71.86, 295.23°)
OKLaboklab(60.49% 0.0129 -0.1863)
OKLCHoklch(60.49% 0.187 273.9)
XYZxyz(26.6292, 20.8612, 84.2680)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6272EF #EFDF62
analogous
#62B9EF #6272EF #9862EF
triadic
#6272EF #EF6272 #72EF62
tetradic
#6272EF #EF62B9 #EFDF62 #62EF98
square
#6272EF #EF62B9 #EFDF62 #62EF98
split-complementary
#6272EF #EF9862 #B9EF62
monochromatic
#1428C3 #2A40E9 #6272EF #9AA4F5 #D1D6FA

Accessibility & contrast

On white

4.06
#6272EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#6272EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6272EF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6272EF#FFFFFF#000000##000000
##6272EF1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2584F3
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#008FA6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6272ef;
/* rgb */ color: rgb(98, 114, 239);
/* oklch */ color: oklch(60.5% 0.187 273.9);
Tailwind
colors: {
  custom: {
    50: '#9a9af5',
    500: '#6272ef',
    950: '#000000',
  },
}
SCSS
$custom: #6272ef;
$custom-light: #9a9af5;
$custom-dark: #000000;
JSON
{
  "hex": "#6272ef",
  "rgb": {
    "r": 98,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 233.191,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60491,
    "c": 0.18673,
    "h": 273.9
  },
  "luminance": 0.20863
}

Semantic roles & 50–950 ramp

primary
#6272EF
secondary
#EEE8BF
accent
#C608DE
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6272EF

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

Preview Lab → · Contrast checker → · Palette generator →

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