#6272F0#6272F0

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

Color values

HEX#6272F0
RGBrgb(98, 114, 240)
HSLhsl(233, 83%, 66%)
HSVhsv(233, 59%, 94%)
CMYKcmyk(59.2%, 52.5%, 0%, 5.9%)
CIE-LABlab(52.86, 30.96, -65.46)
CIE-LCHlch(52.86, 72.41, 295.31°)
OKLaboklab(60.56% 0.0129 -0.1876)
OKLCHoklch(60.56% 0.188 273.9)
XYZxyz(26.7773, 20.9205, 85.0482)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6272F0 #F0E062
analogous
#62B9F0 #6272F0 #9962F0
triadic
#6272F0 #F06272 #72F062
tetradic
#6272F0 #F062B9 #F0E062 #62F099
square
#6272F0 #F062B9 #F0E062 #62F099
split-complementary
#6272F0 #F09962 #B9F062
monochromatic
#1327C5 #2A40EB #6272F0 #9AA4F5 #D2D6FB

Accessibility & contrast

On white

4.05
#6272F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#6272F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6272F0
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6272F0#FFFFFF#000000##000000
##6272F01.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2385F4
Deuteranopia (green-blind)
#0078ED
Tritanopia (blue-blind)
#008FA6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6272f0;
/* rgb */ color: rgb(98, 114, 240);
/* oklch */ color: oklch(60.6% 0.188 273.9);
Tailwind
colors: {
  custom: {
    50: '#9a9af6',
    500: '#6272f0',
    950: '#000000',
  },
}
SCSS
$custom: #6272f0;
$custom-light: #9a9af6;
$custom-dark: #000000;
JSON
{
  "hex": "#6272f0",
  "rgb": {
    "r": 98,
    "g": 114,
    "b": 240
  },
  "hsl": {
    "h": 233.239,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60561,
    "c": 0.18806,
    "h": 273.9
  },
  "luminance": 0.20923
}

Semantic roles & 50–950 ramp

primary
#6272F0
secondary
#EEE9C0
accent
#C707DF
background
#FAF9FF
surface
#F4F2FF
border
#CECCD7
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6272F0

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

Preview Lab → · Contrast checker → · Palette generator →

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