#6262EB#6262EB

#6262EB is a mid, highly saturated blue. Relative luminance 0.173; OKLCH L 57.3% C 0.201 H 278.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#6262EB
RGBrgb(98, 98, 235)
HSLhsl(240, 77%, 65%)
HSVhsv(240, 58%, 92%)
CMYKcmyk(58.3%, 58.3%, 0%, 7.8%)
CIE-LABlab(48.67, 39.00, -69.45)
CIE-LCHlch(48.67, 79.65, 299.32°)
OKLaboklab(57.33% 0.0279 -0.1995)
OKLCHoklch(57.33% 0.201 278)
XYZxyz(24.3953, 17.3284, 80.6403)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6262EB #EBEB62
analogous
#62A6EB #6262EB #A662EB
triadic
#6262EB #EB6262 #62EB62
tetradic
#6262EB #EB62A6 #EBEB62 #62EBA6
square
#6262EB #EB62A6 #EBEB62 #62EBA6
split-complementary
#6262EB #EBA662 #A6EB62
monochromatic
#1818BB #2C2CE4 #6262EB #9898F2 #CFCFF9

Accessibility & contrast

On white

4.70
#6262EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#6262EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6262EB#FFFFFF#000000##FFFFFF
##6262EB1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#006EE8
Tritanopia (blue-blind)
#00839D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6262eb;
/* rgb */ color: rgb(98, 98, 235);
/* oklch */ color: oklch(57.3% 0.201 278.0);
Tailwind
colors: {
  custom: {
    50: '#9b8ff2',
    500: '#6262eb',
    950: '#000000',
  },
}
SCSS
$custom: #6262eb;
$custom-light: #9b8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#6262eb",
  "rgb": {
    "r": 98,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 240,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.57329,
    "c": 0.20143,
    "h": 278
  },
  "luminance": 0.1733
}

Semantic roles & 50–950 ramp

primary
#6262EB
secondary
#EBEBBD
accent
#DA0CDA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6262EB

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

Preview Lab → · Contrast checker → · Palette generator →

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