#6262CD#6262CD

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

Color values

HEX#6262CD
RGBrgb(98, 98, 205)
HSLhsl(240, 52%, 59%)
HSVhsv(240, 52%, 80%)
CMYKcmyk(52.2%, 52.2%, 0%, 19.6%)
CIE-LABlab(46.63, 29.51, -55.72)
CIE-LCHlch(46.63, 63.05, 297.91°)
OKLaboklab(55.16% 0.0272 -0.1591)
OKLCHoklch(55.16% 0.161 279.7)
XYZxyz(20.4207, 15.7386, 59.7076)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262CD #CDCD62
analogous
#6298CD #6262CD #9862CD
triadic
#6262CD #CD6262 #62CD62
tetradic
#6262CD #CD6298 #CDCD62 #62CD98
square
#6262CD #CD6298 #CDCD62 #62CD98
split-complementary
#6262CD #CD9862 #98CD62
monochromatic
#2C2C89 #3A3AB7 #6262CD #9090DC #BFBFEB

Accessibility & contrast

On white

5.06
#6262CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#6262CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6262CD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262CD#FFFFFF#000000##FFFFFF
##6262CD1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2973D1
Deuteranopia (green-blind)
#1B6ACB
Tritanopia (blue-blind)
#347A8E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6262cd;
/* rgb */ color: rgb(98, 98, 205);
/* oklch */ color: oklch(55.2% 0.161 279.7);
Tailwind
colors: {
  custom: {
    50: '#968edd',
    500: '#6262cd',
    950: '#000000',
  },
}
SCSS
$custom: #6262cd;
$custom-light: #968edd;
$custom-dark: #000000;
JSON
{
  "hex": "#6262cd",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 240,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55162,
    "c": 0.16141,
    "h": 279.7
  },
  "luminance": 0.1574
}

Semantic roles & 50–950 ramp

primary
#6262CD
secondary
#DADAB1
accent
#DB4DDB
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6262CD

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

Preview Lab → · Contrast checker → · Palette generator →

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