#6262CF#6262CF

#6262CF is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.3% C 0.164 H 279.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6262CF
RGBrgb(98, 98, 207)
HSLhsl(240, 53%, 60%)
HSVhsv(240, 53%, 81%)
CMYKcmyk(52.7%, 52.7%, 0%, 18.8%)
CIE-LABlab(46.76, 30.14, -56.66)
CIE-LCHlch(46.76, 64.18, 298.01°)
OKLaboklab(55.3% 0.0274 -0.1619)
OKLCHoklch(55.3% 0.164 279.6)
XYZxyz(20.6637, 15.8358, 60.9872)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262CF #CFCF62
analogous
#6299CF #6262CF #9962CF
triadic
#6262CF #CF6262 #62CF62
tetradic
#6262CF #CF6299 #CFCF62 #62CF99
square
#6262CF #CF6299 #CFCF62 #62CF99
split-complementary
#6262CF #CF9962 #99CF62
monochromatic
#2B2B8C #3939BB #6262CF #9191DD #C0C0EC

Accessibility & contrast

On white

5.04
#6262CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#6262CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6262CF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262CF#FFFFFF#000000##FFFFFF
##6262CF1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2673D3
Deuteranopia (green-blind)
#156BCD
Tritanopia (blue-blind)
#327A8F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6262cf;
/* rgb */ color: rgb(98, 98, 207);
/* oklch */ color: oklch(55.3% 0.164 279.6);
Tailwind
colors: {
  custom: {
    50: '#968ede',
    500: '#6262cf',
    950: '#000000',
  },
}
SCSS
$custom: #6262cf;
$custom-light: #968ede;
$custom-dark: #000000;
JSON
{
  "hex": "#6262cf",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 240,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55299,
    "c": 0.16416,
    "h": 279.6
  },
  "luminance": 0.15837
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6262CF

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

Preview Lab → · Contrast checker → · Palette generator →

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