#6262EE#6262EE

#6262EE is a mid, highly saturated blue. Relative luminance 0.175; OKLCH L 57.6% C 0.205 H 277.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#6262EE
RGBrgb(98, 98, 238)
HSLhsl(240, 80%, 66%)
HSVhsv(240, 59%, 93%)
CMYKcmyk(58.8%, 58.8%, 0%, 6.7%)
CIE-LABlab(48.89, 39.95, -70.78)
CIE-LCHlch(48.89, 81.28, 299.44°)
OKLaboklab(57.56% 0.0278 -0.2034)
OKLCHoklch(57.56% 0.205 277.8)
XYZxyz(24.8324, 17.5033, 82.9422)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262EE #EEEE62
analogous
#62A8EE #6262EE #A862EE
triadic
#6262EE #EE6262 #62EE62
tetradic
#6262EE #EE62A8 #EEEE62 #62EEA8
square
#6262EE #EE62A8 #EEEE62 #62EEA8
split-complementary
#6262EE #EEA862 #A8EE62
monochromatic
#1515C1 #2B2BE8 #6262EE #9999F4 #D0D0FA

Accessibility & contrast

On white

4.67
#6262EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#6262EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6262EE#FFFFFF#000000##FFFFFF
##6262EE1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AF3
Deuteranopia (green-blind)
#006EEB
Tritanopia (blue-blind)
#00849F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6262ee;
/* rgb */ color: rgb(98, 98, 238);
/* oklch */ color: oklch(57.6% 0.205 277.8);
Tailwind
colors: {
  custom: {
    50: '#9b8ff4',
    500: '#6262ee',
    950: '#000000',
  },
}
SCSS
$custom: #6262ee;
$custom-light: #9b8ff4;
$custom-dark: #000000;
JSON
{
  "hex": "#6262ee",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 238
  },
  "hsl": {
    "h": 240,
    "s": 80.46,
    "l": 65.882
  },
  "oklch": {
    "l": 0.57557,
    "c": 0.2053,
    "h": 277.8
  },
  "luminance": 0.17505
}

Semantic roles & 50–950 ramp

primary
#6262EE
secondary
#EDEDBF
accent
#DD09DD
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6262EE

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

Preview Lab → · Contrast checker → · Palette generator →

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