#6262DE#6262DE

#6262DE is a mid, vivid blue. Relative luminance 0.166; OKLCH L 56.4% C 0.184 H 278.7°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#6262DE
RGBrgb(98, 98, 222)
HSLhsl(240, 65%, 63%)
HSVhsv(240, 56%, 87%)
CMYKcmyk(55.9%, 55.9%, 0%, 12.9%)
CIE-LABlab(47.76, 34.88, -63.59)
CIE-LCHlch(47.76, 72.53, 298.74°)
OKLaboklab(56.36% 0.0279 -0.1823)
OKLCHoklch(56.36% 0.184 278.7)
XYZxyz(22.5853, 16.6044, 71.1079)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262DE #DEDE62
analogous
#62A0DE #6262DE #A062DE
triadic
#6262DE #DE6262 #62DE62
tetradic
#6262DE #DE62A0 #DEDE62 #62DEA0
square
#6262DE #DE62A0 #DEDE62 #62DEA0
split-complementary
#6262DE #DEA062 #A0DE62
monochromatic
#2222A3 #2F2FD3 #6262DE #9595E9 #C7C7F3

Accessibility & contrast

On white

4.86
#6262DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#6262DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6262DE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262DE#FFFFFF#000000##FFFFFF
##6262DE1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#006CDB
Tritanopia (blue-blind)
#1F7F96
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6262de;
/* rgb */ color: rgb(98, 98, 222);
/* oklch */ color: oklch(56.4% 0.184 278.7);
Tailwind
colors: {
  custom: {
    50: '#998ee9',
    500: '#6262de',
    950: '#000000',
  },
}
SCSS
$custom: #6262de;
$custom-light: #998ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#6262de",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 222
  },
  "hsl": {
    "h": 240,
    "s": 65.263,
    "l": 62.745
  },
  "oklch": {
    "l": 0.56363,
    "c": 0.18439,
    "h": 278.7
  },
  "luminance": 0.16606
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6262DE

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

Preview Lab → · Contrast checker → · Palette generator →

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