#6262CA#6262CA

#6262CA is a mid, vivid blue. Relative luminance 0.156; OKLCH L 55.0% C 0.157 H 279.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#6262CA
RGBrgb(98, 98, 202)
HSLhsl(240, 50%, 59%)
HSVhsv(240, 51%, 79%)
CMYKcmyk(51.5%, 51.5%, 0%, 20.8%)
CIE-LABlab(46.44, 28.57, -54.30)
CIE-LCHlch(46.44, 61.36, 297.75°)
OKLaboklab(54.96% 0.027 -0.1549)
OKLCHoklch(54.96% 0.157 279.9)
XYZxyz(20.0621, 15.5951, 57.8187)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262CA #CACA62
analogous
#6296CA #6262CA #9662CA
triadic
#6262CA #CA6262 #62CA62
tetradic
#6262CA #CA6296 #CACA62 #62CA96
square
#6262CA #CA6296 #CACA62 #62CA96
split-complementary
#6262CA #CA9662 #96CA62
monochromatic
#2D2D85 #3C3CB3 #6262CA #9090D9 #BEBEE9

Accessibility & contrast

On white

5.10
#6262CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#6262CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6262CA
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262CA#FFFFFF#000000##FFFFFF
##6262CA1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D72CE
Deuteranopia (green-blind)
#216AC8
Tritanopia (blue-blind)
#37798D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6262ca;
/* rgb */ color: rgb(98, 98, 202);
/* oklch */ color: oklch(55.0% 0.157 279.9);
Tailwind
colors: {
  custom: {
    50: '#968edb',
    500: '#6262ca',
    950: '#000000',
  },
}
SCSS
$custom: #6262ca;
$custom-light: #968edb;
$custom-dark: #000000;
JSON
{
  "hex": "#6262ca",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 240,
    "s": 49.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.54958,
    "c": 0.15728,
    "h": 279.9
  },
  "luminance": 0.15596
}

Semantic roles & 50–950 ramp

primary
#6262CA
secondary
#D8D8AF
accent
#D94FD9
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6262CA

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

Preview Lab → · Contrast checker → · Palette generator →

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