#6262AA#6262AA

#6262AA is a mid, moderate blue. Relative luminance 0.142; OKLCH L 52.9% C 0.112 H 281.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#6262AA
RGBrgb(98, 98, 170)
HSLhsl(240, 30%, 53%)
HSVhsv(240, 42%, 67%)
CMYKcmyk(42.4%, 42.4%, 0%, 33.3%)
CIE-LABlab(44.57, 18.75, -38.69)
CIE-LCHlch(44.57, 42.99, 295.86°)
OKLaboklab(52.94% 0.023 -0.1091)
OKLCHoklch(52.94% 0.112 281.9)
XYZxyz(16.6583, 14.2336, 39.8921)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262AA #AAAA62
analogous
#6286AA #6262AA #8662AA
triadic
#6262AA #AA6262 #62AA62
tetradic
#6262AA #AA6286 #AAAA62 #62AA86
square
#6262AA #AA6286 #AAAA62 #62AA86
split-complementary
#6262AA #AA8662 #86AA62
monochromatic
#33335E #494986 #6262AA #8A8ABF #B1B1D5

Accessibility & contrast

On white

5.46
#6262AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#6262AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6262AA#FFFFFF#000000##FFFFFF
##6262AA1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486CAD
Deuteranopia (green-blind)
#4467A8
Tritanopia (blue-blind)
#4C707E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6262aa;
/* rgb */ color: rgb(98, 98, 170);
/* oklch */ color: oklch(52.9% 0.112 281.9);
Tailwind
colors: {
  custom: {
    50: '#928ec3',
    500: '#6262aa',
    950: '#000000',
  },
}
SCSS
$custom: #6262aa;
$custom-light: #928ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#6262aa",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 170
  },
  "hsl": {
    "h": 240,
    "s": 29.752,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52937,
    "c": 0.11154,
    "h": 281.9
  },
  "luminance": 0.14234
}

Semantic roles & 50–950 ramp

primary
#6262AA
secondary
#C4C4A4
accent
#C662C6
background
#F9F8FC
surface
#F1F0F8
border
#CBCBD1
text
#0D0C12
muted
#7E7D81

Preview Lab

Preview with #6262AA

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

Preview Lab → · Contrast checker → · Palette generator →

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