#6262CE#6262CE

#6262CE is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.2% C 0.163 H 279.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#6262CE
RGBrgb(98, 98, 206)
HSLhsl(240, 52%, 60%)
HSVhsv(240, 52%, 81%)
CMYKcmyk(52.4%, 52.4%, 0%, 19.2%)
CIE-LABlab(46.69, 29.82, -56.19)
CIE-LCHlch(46.69, 63.61, 297.96°)
OKLaboklab(55.23% 0.0273 -0.1605)
OKLCHoklch(55.23% 0.163 279.7)
XYZxyz(20.5418, 15.7870, 60.3453)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262CE #CECE62
analogous
#6298CE #6262CE #9862CE
triadic
#6262CE #CE6262 #62CE62
tetradic
#6262CE #CE6298 #CECE62 #62CE98
square
#6262CE #CE6298 #CECE62 #62CE98
split-complementary
#6262CE #CE9862 #98CE62
monochromatic
#2B2B8A #3A3AB9 #6262CE #9191DD #BFBFEB

Accessibility & contrast

On white

5.05
#6262CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6262CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6262CE
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262CE#FFFFFF#000000##FFFFFF
##6262CE1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2773D2
Deuteranopia (green-blind)
#186BCC
Tritanopia (blue-blind)
#337A8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6262ce;
/* rgb */ color: rgb(98, 98, 206);
/* oklch */ color: oklch(55.2% 0.163 279.7);
Tailwind
colors: {
  custom: {
    50: '#968ede',
    500: '#6262ce',
    950: '#000000',
  },
}
SCSS
$custom: #6262ce;
$custom-light: #968ede;
$custom-dark: #000000;
JSON
{
  "hex": "#6262ce",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 240,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55231,
    "c": 0.1628,
    "h": 279.7
  },
  "luminance": 0.15788
}

Semantic roles & 50–950 ramp

primary
#6262CE
secondary
#DBDBB1
accent
#DC4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6262CE

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

Preview Lab → · Contrast checker → · Palette generator →

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