#6262DD#6262DD

#6262DD is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.3% C 0.183 H 278.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#6262DD
RGBrgb(98, 98, 221)
HSLhsl(240, 64%, 63%)
HSVhsv(240, 56%, 87%)
CMYKcmyk(55.7%, 55.7%, 0%, 13.3%)
CIE-LABlab(47.69, 34.56, -63.14)
CIE-LCHlch(47.69, 71.98, 298.70°)
OKLaboklab(56.29% 0.0279 -0.1809)
OKLCHoklch(56.29% 0.183 278.8)
XYZxyz(22.4517, 16.5510, 70.4042)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262DD #DDDD62
analogous
#629FDD #6262DD #9F62DD
triadic
#6262DD #DD6262 #62DD62
tetradic
#6262DD #DD629F #DDDD62 #62DD9F
square
#6262DD #DD629F #DDDD62 #62DD9F
split-complementary
#6262DD #DD9F62 #9FDD62
monochromatic
#2323A2 #3030D2 #6262DD #9494E8 #C7C7F3

Accessibility & contrast

On white

4.87
#6262DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#6262DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6262DD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262DD#FFFFFF#000000##FFFFFF
##6262DD1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#207F96
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6262dd;
/* rgb */ color: rgb(98, 98, 221);
/* oklch */ color: oklch(56.3% 0.183 278.8);
Tailwind
colors: {
  custom: {
    50: '#988ee8',
    500: '#6262dd',
    950: '#000000',
  },
}
SCSS
$custom: #6262dd;
$custom-light: #988ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#6262dd",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 240,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56291,
    "c": 0.18305,
    "h": 278.8
  },
  "luminance": 0.16552
}

Semantic roles & 50–950 ramp

primary
#6262DD
secondary
#E4E4B7
accent
#CC19CC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #6262DD

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

Preview Lab → · Contrast checker → · Palette generator →

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