#6262C8#6262C8

#6262C8 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.8% C 0.155 H 280.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#6262C8
RGBrgb(98, 98, 200)
HSLhsl(240, 48%, 58%)
HSVhsv(240, 51%, 78%)
CMYKcmyk(51%, 51%, 0%, 21.6%)
CIE-LABlab(46.31, 27.94, -53.36)
CIE-LCHlch(46.31, 60.23, 297.64°)
OKLaboklab(54.82% 0.0269 -0.1521)
OKLCHoklch(54.82% 0.155 280)
XYZxyz(19.8268, 15.5010, 56.5796)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262C8 #C8C862
analogous
#6295C8 #6262C8 #9562C8
triadic
#6262C8 #C86262 #62C862
tetradic
#6262C8 #C86295 #C8C862 #62C895
square
#6262C8 #C86295 #C8C862 #62C895
split-complementary
#6262C8 #C89562 #95C862
monochromatic
#2E2E82 #3D3DAF #6262C8 #8F8FD8 #BDBDE8

Accessibility & contrast

On white

5.12
#6262C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#6262C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6262C8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262C8#FFFFFF#000000##FFFFFF
##6262C81.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F72CC
Deuteranopia (green-blind)
#256AC6
Tritanopia (blue-blind)
#39788C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6262c8;
/* rgb */ color: rgb(98, 98, 200);
/* oklch */ color: oklch(54.8% 0.155 280.0);
Tailwind
colors: {
  custom: {
    50: '#968ed9',
    500: '#6262c8',
    950: '#000000',
  },
}
SCSS
$custom: #6262c8;
$custom-light: #968ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#6262c8",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 240,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54823,
    "c": 0.15451,
    "h": 280
  },
  "luminance": 0.15502
}

Semantic roles & 50–950 ramp

primary
#6262C8
secondary
#D7D7AF
accent
#D850D8
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6262C8

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

Preview Lab → · Contrast checker → · Palette generator →

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