#6262DB#6262DB

#6262DB is a mid, vivid blue. Relative luminance 0.164; OKLCH L 56.1% C 0.180 H 278.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#6262DB
RGBrgb(98, 98, 219)
HSLhsl(240, 63%, 62%)
HSVhsv(240, 55%, 86%)
CMYKcmyk(55.3%, 55.3%, 0%, 14.1%)
CIE-LABlab(47.55, 33.93, -62.22)
CIE-LCHlch(47.55, 70.87, 298.60°)
OKLaboklab(56.15% 0.0278 -0.1782)
OKLCHoklch(56.15% 0.18 278.9)
XYZxyz(22.1868, 16.4450, 69.0092)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262DB #DBDB62
analogous
#629FDB #6262DB #9F62DB
triadic
#6262DB #DB6262 #62DB62
tetradic
#6262DB #DB629F #DBDB62 #62DB9F
square
#6262DB #DB629F #DBDB62 #62DB9F
split-complementary
#6262DB #DB9F62 #9FDB62
monochromatic
#24249E #3030D0 #6262DB #9494E6 #C6C6F2

Accessibility & contrast

On white

4.90
#6262DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#6262DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6262DB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262DB#FFFFFF#000000##FFFFFF
##6262DB1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0776DF
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#247E95
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6262db;
/* rgb */ color: rgb(98, 98, 219);
/* oklch */ color: oklch(56.1% 0.180 278.9);
Tailwind
colors: {
  custom: {
    50: '#988ee7',
    500: '#6262db',
    950: '#000000',
  },
}
SCSS
$custom: #6262db;
$custom-light: #988ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#6262db",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 240,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56146,
    "c": 0.18039,
    "h": 278.9
  },
  "luminance": 0.16447
}

Semantic roles & 50–950 ramp

primary
#6262DB
secondary
#E3E3B6
accent
#CA1BCA
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0F0C16
muted
#7E7D84

Preview Lab

Preview with #6262DB

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

Preview Lab → · Contrast checker → · Palette generator →

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