#6262E8#6262E8

#6262E8 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 57.1% C 0.198 H 278.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#6262E8
RGBrgb(98, 98, 232)
HSLhsl(240, 74%, 65%)
HSVhsv(240, 58%, 91%)
CMYKcmyk(57.8%, 57.8%, 0%, 9%)
CIE-LABlab(48.46, 38.05, -68.11)
CIE-LCHlch(48.46, 78.02, 299.19°)
OKLaboklab(57.1% 0.0279 -0.1955)
OKLCHoklch(57.1% 0.198 278.1)
XYZxyz(23.9655, 17.1565, 78.3769)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262E8 #E8E862
analogous
#62A5E8 #6262E8 #A562E8
triadic
#6262E8 #E86262 #62E862
tetradic
#6262E8 #E862A5 #E8E862 #62E8A5
square
#6262E8 #E862A5 #E8E862 #62E8A5
split-complementary
#6262E8 #E8A562 #A5E862
monochromatic
#1B1BB5 #2D2DE0 #6262E8 #9797F0 #CDCDF8

Accessibility & contrast

On white

4.74
#6262E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#6262E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6262E8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262E8#FFFFFF#000000##FFFFFF
##6262E81.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#006EE5
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6262e8;
/* rgb */ color: rgb(98, 98, 232);
/* oklch */ color: oklch(57.1% 0.198 278.1);
Tailwind
colors: {
  custom: {
    50: '#9a8ff0',
    500: '#6262e8',
    950: '#000000',
  },
}
SCSS
$custom: #6262e8;
$custom-light: #9a8ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#6262e8",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 232
  },
  "hsl": {
    "h": 240,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.57103,
    "c": 0.19753,
    "h": 278.1
  },
  "luminance": 0.17158
}

Semantic roles & 50–950 ramp

primary
#6262E8
secondary
#EAEABC
accent
#D70FD7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6262E8

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

Preview Lab → · Contrast checker → · Palette generator →

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