#6262E5#6262E5

#6262E5 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.9% C 0.194 H 278.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#6262E5
RGBrgb(98, 98, 229)
HSLhsl(240, 72%, 64%)
HSVhsv(240, 57%, 90%)
CMYKcmyk(57.2%, 57.2%, 0%, 10.2%)
CIE-LABlab(48.24, 37.10, -66.76)
CIE-LCHlch(48.24, 76.38, 299.06°)
OKLaboklab(56.88% 0.0279 -0.1916)
OKLCHoklch(56.88% 0.194 278.3)
XYZxyz(23.5430, 16.9875, 76.1519)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262E5 #E5E562
analogous
#62A4E5 #6262E5 #A462E5
triadic
#6262E5 #E56262 #62E562
tetradic
#6262E5 #E562A4 #E5E562 #62E5A4
square
#6262E5 #E562A4 #E5E562 #62E5A4
split-complementary
#6262E5 #E5A462 #A4E562
monochromatic
#1D1DB0 #2D2DDC #6262E5 #9797EE #CBCBF6

Accessibility & contrast

On white

4.78
#6262E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#6262E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6262E5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262E5#FFFFFF#000000##FFFFFF
##6262E51.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#006DE2
Tritanopia (blue-blind)
#0D819A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6262e5;
/* rgb */ color: rgb(98, 98, 229);
/* oklch */ color: oklch(56.9% 0.194 278.3);
Tailwind
colors: {
  custom: {
    50: '#9a8fee',
    500: '#6262e5',
    950: '#000000',
  },
}
SCSS
$custom: #6262e5;
$custom-light: #9a8fee;
$custom-dark: #000000;
JSON
{
  "hex": "#6262e5",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 229
  },
  "hsl": {
    "h": 240,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.56879,
    "c": 0.19362,
    "h": 278.3
  },
  "luminance": 0.16989
}

Semantic roles & 50–950 ramp

primary
#6262E5
secondary
#E8E8BB
accent
#D412D4
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6262E5

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

Preview Lab → · Contrast checker → · Palette generator →

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