#6262ED#6262ED

#6262ED is a mid, highly saturated blue. Relative luminance 0.174; OKLCH L 57.5% C 0.204 H 277.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#6262ED
RGBrgb(98, 98, 237)
HSLhsl(240, 79%, 66%)
HSVhsv(240, 59%, 93%)
CMYKcmyk(58.6%, 58.6%, 0%, 7.1%)
CIE-LABlab(48.82, 39.64, -70.34)
CIE-LCHlch(48.82, 80.74, 299.40°)
OKLaboklab(57.48% 0.0278 -0.2021)
OKLCHoklch(57.48% 0.204 277.8)
XYZxyz(24.6859, 17.4446, 82.1706)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262ED #EDED62
analogous
#62A7ED #6262ED #A762ED
triadic
#6262ED #ED6262 #62ED62
tetradic
#6262ED #ED62A7 #EDED62 #62EDA7
square
#6262ED #ED62A7 #EDED62 #62EDA7
split-complementary
#6262ED #EDA762 #A7ED62
monochromatic
#1616BF #2B2BE7 #6262ED #9999F3 #D0D0FA

Accessibility & contrast

On white

4.68
#6262ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#6262ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6262ED
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262ED#FFFFFF#000000##FFFFFF
##6262ED1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#006EEA
Tritanopia (blue-blind)
#00849E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6262ed;
/* rgb */ color: rgb(98, 98, 237);
/* oklch */ color: oklch(57.5% 0.204 277.8);
Tailwind
colors: {
  custom: {
    50: '#9b8ff4',
    500: '#6262ed',
    950: '#000000',
  },
}
SCSS
$custom: #6262ed;
$custom-light: #9b8ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#6262ed",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 237
  },
  "hsl": {
    "h": 240,
    "s": 79.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.57481,
    "c": 0.20401,
    "h": 277.8
  },
  "luminance": 0.17446
}

Semantic roles & 50–950 ramp

primary
#6262ED
secondary
#EDEDBE
accent
#DC0ADC
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6262ED

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

Preview Lab → · Contrast checker → · Palette generator →

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