#6262DC#6262DC

#6262DC is a mid, vivid blue. Relative luminance 0.165; OKLCH L 56.2% C 0.182 H 278.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#6262DC
RGBrgb(98, 98, 220)
HSLhsl(240, 64%, 62%)
HSVhsv(240, 55%, 86%)
CMYKcmyk(55.5%, 55.5%, 0%, 13.7%)
CIE-LABlab(47.62, 34.24, -62.68)
CIE-LCHlch(47.62, 71.42, 298.65°)
OKLaboklab(56.22% 0.0279 -0.1796)
OKLCHoklch(56.22% 0.182 278.8)
XYZxyz(22.3189, 16.4979, 69.7046)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262DC #DCDC62
analogous
#629FDC #6262DC #9F62DC
triadic
#6262DC #DC6262 #62DC62
tetradic
#6262DC #DC629F #DCDC62 #62DC9F
square
#6262DC #DC629F #DCDC62 #62DC9F
split-complementary
#6262DC #DC9F62 #9FDC62
monochromatic
#2424A0 #3030D1 #6262DC #9494E7 #C6C6F2

Accessibility & contrast

On white

4.88
#6262DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#6262DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6262DC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262DC#FFFFFF#000000##FFFFFF
##6262DC1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0276E0
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#227E95
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6262dc;
/* rgb */ color: rgb(98, 98, 220);
/* oklch */ color: oklch(56.2% 0.182 278.8);
Tailwind
colors: {
  custom: {
    50: '#988ee8',
    500: '#6262dc',
    950: '#000000',
  },
}
SCSS
$custom: #6262dc;
$custom-light: #988ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#6262dc",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 220
  },
  "hsl": {
    "h": 240,
    "s": 63.542,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56218,
    "c": 0.18173,
    "h": 278.8
  },
  "luminance": 0.16499
}

Semantic roles & 50–950 ramp

primary
#6262DC
secondary
#E3E3B7
accent
#CB1ACB
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #6262DC

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

Preview Lab → · Contrast checker → · Palette generator →

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