#6262E7#6262E7

#6262E7 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 57.0% C 0.196 H 278.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#6262E7
RGBrgb(98, 98, 231)
HSLhsl(240, 73%, 65%)
HSVhsv(240, 58%, 91%)
CMYKcmyk(57.6%, 57.6%, 0%, 9.4%)
CIE-LABlab(48.39, 37.73, -67.66)
CIE-LCHlch(48.39, 77.47, 299.15°)
OKLaboklab(57.03% 0.0279 -0.1942)
OKLCHoklch(57.03% 0.196 278.2)
XYZxyz(23.8239, 17.0999, 77.6310)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262E7 #E7E762
analogous
#62A5E7 #6262E7 #A562E7
triadic
#6262E7 #E76262 #62E762
tetradic
#6262E7 #E762A5 #E7E762 #62E7A5
square
#6262E7 #E762A5 #E7E762 #62E7A5
split-complementary
#6262E7 #E7A562 #A5E762
monochromatic
#1B1BB3 #2D2DDF #6262E7 #9797EF #CCCCF7

Accessibility & contrast

On white

4.75
#6262E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#6262E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6262E7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262E7#FFFFFF#000000##FFFFFF
##6262E71.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078EB
Deuteranopia (green-blind)
#006DE4
Tritanopia (blue-blind)
#04829B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #6262e7;
/* rgb */ color: rgb(98, 98, 231);
/* oklch */ color: oklch(57.0% 0.196 278.2);
Tailwind
colors: {
  custom: {
    50: '#9a8fef',
    500: '#6262e7',
    950: '#000000',
  },
}
SCSS
$custom: #6262e7;
$custom-light: #9a8fef;
$custom-dark: #000000;
JSON
{
  "hex": "#6262e7",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 240,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57028,
    "c": 0.19624,
    "h": 278.2
  },
  "luminance": 0.17102
}

Semantic roles & 50–950 ramp

primary
#6262E7
secondary
#E9E9BB
accent
#D610D6
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6262E7

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

Preview Lab → · Contrast checker → · Palette generator →

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