#6062EB#6062EB

#6062EB is a mid, highly saturated blue. Relative luminance 0.172; OKLCH L 57.2% C 0.202 H 277.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#6062EB
RGBrgb(96, 98, 235)
HSLhsl(239, 78%, 65%)
HSVhsv(239, 59%, 92%)
CMYKcmyk(59.1%, 58.3%, 0%, 7.8%)
CIE-LABlab(48.53, 38.66, -69.68)
CIE-LCHlch(48.53, 79.69, 299.02°)
OKLaboklab(57.19% 0.0256 -0.2002)
OKLCHoklch(57.19% 0.202 277.3)
XYZxyz(24.1821, 17.2185, 80.6303)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6062EB #EBE960
analogous
#60A7EB #6062EB #A460EB
triadic
#6062EB #EB6062 #62EB60
tetradic
#6062EB #EB60A7 #EBE960 #60EBA4
square
#6062EB #EB60A7 #EBE960 #60EBA4
split-complementary
#6062EB #EBA460 #A7EB60
monochromatic
#171AB9 #2A2CE4 #6062EB #9698F2 #CDCDF9

Accessibility & contrast

On white

4.73
#6062EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#6062EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6062EB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6062EB#FFFFFF#000000##FFFFFF
##6062EB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6062eb;
/* rgb */ color: rgb(96, 98, 235);
/* oklch */ color: oklch(57.2% 0.202 277.3);
Tailwind
colors: {
  custom: {
    50: '#9a8ff2',
    500: '#6062eb',
    950: '#000000',
  },
}
SCSS
$custom: #6062eb;
$custom-light: #9a8ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#6062eb",
  "rgb": {
    "r": 96,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 239.137,
    "s": 77.654,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57193,
    "c": 0.20185,
    "h": 277.3
  },
  "luminance": 0.1722
}

Semantic roles & 50–950 ramp

primary
#6062EB
secondary
#EBEABC
accent
#D70CDA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6062EB

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

Preview Lab → · Contrast checker → · Palette generator →

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