#6262E6#6262E6

#6262E6 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 57.0% C 0.195 H 278.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#6262E6
RGBrgb(98, 98, 230)
HSLhsl(240, 73%, 64%)
HSVhsv(240, 57%, 90%)
CMYKcmyk(57.4%, 57.4%, 0%, 9.8%)
CIE-LABlab(48.31, 37.41, -67.21)
CIE-LCHlch(48.31, 76.92, 299.10°)
OKLaboklab(56.95% 0.0279 -0.1929)
OKLCHoklch(56.95% 0.195 278.2)
XYZxyz(23.6831, 17.0435, 76.8893)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262E6 #E6E662
analogous
#62A4E6 #6262E6 #A462E6
triadic
#6262E6 #E66262 #62E662
tetradic
#6262E6 #E662A4 #E6E662 #62E6A4
square
#6262E6 #E662A4 #E6E662 #62E6A4
split-complementary
#6262E6 #E6A462 #A4E662
monochromatic
#1C1CB1 #2D2DDE #6262E6 #9797EE #CCCCF7

Accessibility & contrast

On white

4.76
#6262E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#6262E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6262E6
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262E6#FFFFFF#000000##FFFFFF
##6262E61.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EA
Deuteranopia (green-blind)
#006DE3
Tritanopia (blue-blind)
#08819B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6262e6;
/* rgb */ color: rgb(98, 98, 230);
/* oklch */ color: oklch(57.0% 0.195 278.2);
Tailwind
colors: {
  custom: {
    50: '#9a8fef',
    500: '#6262e6',
    950: '#000000',
  },
}
SCSS
$custom: #6262e6;
$custom-light: #9a8fef;
$custom-dark: #000000;
JSON
{
  "hex": "#6262e6",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 230
  },
  "hsl": {
    "h": 240,
    "s": 72.527,
    "l": 64.314
  },
  "oklch": {
    "l": 0.56953,
    "c": 0.19493,
    "h": 278.2
  },
  "luminance": 0.17045
}

Semantic roles & 50–950 ramp

primary
#6262E6
secondary
#E9E9BB
accent
#D511D5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6262E6

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

Preview Lab → · Contrast checker → · Palette generator →

#6262E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva