#6262E9#6262E9

#6262E9 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 57.2% C 0.199 H 278.1°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#6262E9
RGBrgb(98, 98, 233)
HSLhsl(240, 75%, 65%)
HSVhsv(240, 58%, 91%)
CMYKcmyk(57.9%, 57.9%, 0%, 8.6%)
CIE-LABlab(48.53, 38.37, -68.56)
CIE-LCHlch(48.53, 78.56, 299.23°)
OKLaboklab(57.18% 0.0279 -0.1969)
OKLCHoklch(57.18% 0.199 278.1)
XYZxyz(24.1080, 17.2135, 79.1271)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262E9 #E9E962
analogous
#62A6E9 #6262E9 #A662E9
triadic
#6262E9 #E96262 #62E962
tetradic
#6262E9 #E962A6 #E9E962 #62E9A6
square
#6262E9 #E962A6 #E9E962 #62E9A6
split-complementary
#6262E9 #E9A662 #A6E962
monochromatic
#1A1AB7 #2C2CE1 #6262E9 #9898F1 #CDCDF8

Accessibility & contrast

On white

4.73
#6262E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#6262E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6262E9
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262E9#FFFFFF#000000##FFFFFF
##6262E91.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#006EE6
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6262e9;
/* rgb */ color: rgb(98, 98, 233);
/* oklch */ color: oklch(57.2% 0.199 278.1);
Tailwind
colors: {
  custom: {
    50: '#9a8ff1',
    500: '#6262e9',
    950: '#000000',
  },
}
SCSS
$custom: #6262e9;
$custom-light: #9a8ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#6262e9",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 233
  },
  "hsl": {
    "h": 240,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57178,
    "c": 0.19884,
    "h": 278.1
  },
  "luminance": 0.17215
}

Semantic roles & 50–950 ramp

primary
#6262E9
secondary
#EAEABC
accent
#D80ED8
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6262E9

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

Preview Lab → · Contrast checker → · Palette generator →

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