#6272EE#6272EE

#6272EE is a mid, vivid blue. Relative luminance 0.208; OKLCH L 60.4% C 0.185 H 274.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6272EE
RGBrgb(98, 114, 238)
HSLhsl(233, 80%, 66%)
HSVhsv(233, 59%, 93%)
CMYKcmyk(58.8%, 52.1%, 0%, 6.7%)
CIE-LABlab(52.73, 30.31, -64.56)
CIE-LCHlch(52.73, 71.32, 295.15°)
OKLaboklab(60.42% 0.0128 -0.1849)
OKLCHoklch(60.42% 0.185 274)
XYZxyz(26.4819, 20.8023, 83.4921)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6272EE #EEDE62
analogous
#62B8EE #6272EE #9862EE
triadic
#6272EE #EE6272 #72EE62
tetradic
#6272EE #EE62B8 #EEDE62 #62EE98
square
#6272EE #EE62B8 #EEDE62 #62EE98
split-complementary
#6272EE #EE9862 #B8EE62
monochromatic
#1529C1 #2B40E8 #6272EE #99A4F4 #D0D5FA

Accessibility & contrast

On white

4.07
#6272EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#6272EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6272EE
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6272EE#FFFFFF#000000##000000
##6272EE1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2784F2
Deuteranopia (green-blind)
#0078EB
Tritanopia (blue-blind)
#008FA5
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #6272ee;
/* rgb */ color: rgb(98, 114, 238);
/* oklch */ color: oklch(60.4% 0.185 274.0);
Tailwind
colors: {
  custom: {
    50: '#9a9af4',
    500: '#6272ee',
    950: '#000000',
  },
}
SCSS
$custom: #6272ee;
$custom-light: #9a9af4;
$custom-dark: #000000;
JSON
{
  "hex": "#6272ee",
  "rgb": {
    "r": 98,
    "g": 114,
    "b": 238
  },
  "hsl": {
    "h": 233.143,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60422,
    "c": 0.18539,
    "h": 274
  },
  "luminance": 0.20804
}

Semantic roles & 50–950 ramp

primary
#6272EE
secondary
#EDE8BF
accent
#C509DD
background
#FAF9FF
surface
#F4F2FE
border
#CECCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6272EE

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

Preview Lab → · Contrast checker → · Palette generator →

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