#6262CB#6262CB

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

Color values

HEX#6262CB
RGBrgb(98, 98, 203)
HSLhsl(240, 50%, 59%)
HSVhsv(240, 52%, 80%)
CMYKcmyk(51.7%, 51.7%, 0%, 20.4%)
CIE-LABlab(46.50, 28.88, -54.78)
CIE-LCHlch(46.50, 61.93, 297.80°)
OKLaboklab(55.03% 0.0271 -0.1563)
OKLCHoklch(55.03% 0.159 279.8)
XYZxyz(20.1808, 15.6426, 58.4443)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262CB #CBCB62
analogous
#6297CB #6262CB #9762CB
triadic
#6262CB #CB6262 #62CB62
tetradic
#6262CB #CB6297 #CBCB62 #62CB97
square
#6262CB #CB6297 #CBCB62 #62CB97
split-complementary
#6262CB #CB9762 #97CB62
monochromatic
#2C2C86 #3C3CB4 #6262CB #9090DA #BEBEE9

Accessibility & contrast

On white

5.09
#6262CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#6262CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6262CB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262CB#FFFFFF#000000##FFFFFF
##6262CB1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C72CF
Deuteranopia (green-blind)
#1F6AC9
Tritanopia (blue-blind)
#36798D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6262cb;
/* rgb */ color: rgb(98, 98, 203);
/* oklch */ color: oklch(55.0% 0.159 279.8);
Tailwind
colors: {
  custom: {
    50: '#968edb',
    500: '#6262cb',
    950: '#000000',
  },
}
SCSS
$custom: #6262cb;
$custom-light: #968edb;
$custom-dark: #000000;
JSON
{
  "hex": "#6262cb",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 240,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.55025,
    "c": 0.15866,
    "h": 279.8
  },
  "luminance": 0.15644
}

Semantic roles & 50–950 ramp

primary
#6262CB
secondary
#D9D9B0
accent
#DA4EDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6262CB

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

Preview Lab → · Contrast checker → · Palette generator →

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