#6062CB#6062CB

#6062CB is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.9% C 0.159 H 279.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#6062CB
RGBrgb(96, 98, 203)
HSLhsl(239, 51%, 59%)
HSVhsv(239, 53%, 80%)
CMYKcmyk(52.7%, 51.7%, 0%, 20.4%)
CIE-LABlab(46.36, 28.46, -55.02)
CIE-LCHlch(46.36, 61.95, 297.35°)
OKLaboklab(54.88% 0.0248 -0.1571)
OKLCHoklch(54.88% 0.159 279)
XYZxyz(19.9677, 15.5327, 58.4343)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6062CB #CBC960
analogous
#6097CB #6062CB #9360CB
triadic
#6062CB #CB6062 #62CB60
tetradic
#6062CB #CB6097 #CBC960 #60CB93
square
#6062CB #CB6097 #CBC960 #60CB93
split-complementary
#6062CB #CB9360 #97CB60
monochromatic
#2C2D85 #3B3DB3 #6062CB #8E90DA #BCBDE9

Accessibility & contrast

On white

5.11
#6062CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#6062CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6062CB
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6062CB#FFFFFF#000000##FFFFFF
##6062CB1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B72CF
Deuteranopia (green-blind)
#1C6AC9
Tritanopia (blue-blind)
#31798D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6062cb;
/* rgb */ color: rgb(96, 98, 203);
/* oklch */ color: oklch(54.9% 0.159 279.0);
Tailwind
colors: {
  custom: {
    50: '#958edb',
    500: '#6062cb',
    950: '#000000',
  },
}
SCSS
$custom: #6062cb;
$custom-light: #958edb;
$custom-dark: #000000;
JSON
{
  "hex": "#6062cb",
  "rgb": {
    "r": 96,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 238.879,
    "s": 50.711,
    "l": 58.627
  },
  "oklch": {
    "l": 0.54878,
    "c": 0.15904,
    "h": 279
  },
  "luminance": 0.15534
}

Semantic roles & 50–950 ramp

primary
#6062CB
secondary
#D9D8AE
accent
#D84EDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6062CB

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

Preview Lab → · Contrast checker → · Palette generator →

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