#6262FA#6262FA

#6262FA is a mid, highly saturated blue. Relative luminance 0.182; OKLCH L 58.5% C 0.221 H 277.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#6262FA
RGBrgb(98, 98, 250)
HSLhsl(240, 94%, 68%)
HSVhsv(240, 61%, 98%)
CMYKcmyk(60.8%, 60.8%, 0%, 2%)
CIE-LABlab(49.78, 43.76, -76.04)
CIE-LCHlch(49.78, 87.73, 299.92°)
OKLaboklab(58.49% 0.0274 -0.2189)
OKLCHoklch(58.49% 0.221 277.1)
XYZxyz(26.6544, 18.2321, 92.5385)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262FA #FAFA62
analogous
#62AEFA #6262FA #AE62FA
triadic
#6262FA #FA6262 #62FA62
tetradic
#6262FA #FA62AE #FAFA62 #62FAAE
square
#6262FA #FA62AE #FAFA62 #62FAAE
split-complementary
#6262FA #FAAE62 #AEFA62
monochromatic
#0707DB #2727F8 #6262FA #9D9DFC #D9D9FE

Accessibility & contrast

On white

4.52
#6262FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#6262FA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6262FA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6262FA#FFFFFF#000000##000000
##6262FA1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0070F7
Tritanopia (blue-blind)
#0088A5
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6262fa;
/* rgb */ color: rgb(98, 98, 250);
/* oklch */ color: oklch(58.5% 0.221 277.1);
Tailwind
colors: {
  custom: {
    50: '#9d8ffd',
    500: '#6262fa',
    950: '#000000',
  },
}
SCSS
$custom: #6262fa;
$custom-light: #9d8ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#6262fa",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 250
  },
  "hsl": {
    "h": 240,
    "s": 93.827,
    "l": 68.235
  },
  "oklch": {
    "l": 0.5849,
    "c": 0.22057,
    "h": 277.1
  },
  "luminance": 0.18234
}

Semantic roles & 50–950 ramp

primary
#6262FA
secondary
#F3F3C5
accent
#E600E5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100C18
muted
#7F7D86

Preview Lab

Preview with #6262FA

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

Preview Lab → · Contrast checker → · Palette generator →

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