#6262AE#6262AE

#6262AE is a mid, moderate blue. Relative luminance 0.144; OKLCH L 53.2% C 0.117 H 281.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#6262AE
RGBrgb(98, 98, 174)
HSLhsl(240, 32%, 53%)
HSVhsv(240, 44%, 68%)
CMYKcmyk(43.7%, 43.7%, 0%, 31.8%)
CIE-LABlab(44.78, 19.95, -40.69)
CIE-LCHlch(44.78, 45.32, 296.12°)
OKLaboklab(53.17% 0.0237 -0.115)
OKLCHoklch(53.17% 0.117 281.6)
XYZxyz(17.0424, 14.3873, 41.9152)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262AE #AEAE62
analogous
#6288AE #6262AE #8862AE
triadic
#6262AE #AE6262 #62AE62
tetradic
#6262AE #AE6288 #AEAE62 #62AE88
square
#6262AE #AE6288 #AEAE62 #62AE88
split-complementary
#6262AE #AE8862 #88AE62
monochromatic
#333363 #48488B #6262AE #8A8AC3 #B3B3D8

Accessibility & contrast

On white

5.42
#6262AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#6262AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6262AE
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262AE#FFFFFF#000000##FFFFFF
##6262AE1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466DB1
Deuteranopia (green-blind)
#4167AC
Tritanopia (blue-blind)
#4A717F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #6262ae;
/* rgb */ color: rgb(98, 98, 174);
/* oklch */ color: oklch(53.2% 0.117 281.6);
Tailwind
colors: {
  custom: {
    50: '#928ec6',
    500: '#6262ae',
    950: '#000000',
  },
}
SCSS
$custom: #6262ae;
$custom-light: #928ec6;
$custom-dark: #000000;
JSON
{
  "hex": "#6262ae",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 174
  },
  "hsl": {
    "h": 240,
    "s": 31.933,
    "l": 53.333
  },
  "oklch": {
    "l": 0.53173,
    "c": 0.11742,
    "h": 281.6
  },
  "luminance": 0.14388
}

Semantic roles & 50–950 ramp

primary
#6262AE
secondary
#C6C6A6
accent
#C860C8
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0D0C13
muted
#7E7D82

Preview Lab

Preview with #6262AE

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

Preview Lab → · Contrast checker → · Palette generator →

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