#6062CA#6062CA

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

Color values

HEX#6062CA
RGBrgb(96, 98, 202)
HSLhsl(239, 50%, 58%)
HSVhsv(239, 52%, 79%)
CMYKcmyk(52.5%, 51.5%, 0%, 20.8%)
CIE-LABlab(46.29, 28.15, -54.55)
CIE-LCHlch(46.29, 61.38, 297.29°)
OKLaboklab(54.81% 0.0247 -0.1557)
OKLCHoklch(54.81% 0.158 279)
XYZxyz(19.8489, 15.4852, 57.8087)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6062CA #CAC860
analogous
#6097CA #6062CA #9360CA
triadic
#6062CA #CA6062 #62CA60
tetradic
#6062CA #CA6097 #CAC860 #60CA93
square
#6062CA #CA6097 #CAC860 #60CA93
split-complementary
#6062CA #CA9360 #97CA60
monochromatic
#2C2E84 #3B3DB2 #6062CA #8E8FD9 #BCBDE9

Accessibility & contrast

On white

5.13
#6062CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#6062CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6062CA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6062CA#FFFFFF#000000##FFFFFF
##6062CA1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C72CE
Deuteranopia (green-blind)
#1F6AC8
Tritanopia (blue-blind)
#32798D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6062ca;
/* rgb */ color: rgb(96, 98, 202);
/* oklch */ color: oklch(54.8% 0.158 279.0);
Tailwind
colors: {
  custom: {
    50: '#958edb',
    500: '#6062ca',
    950: '#000000',
  },
}
SCSS
$custom: #6062ca;
$custom-light: #958edb;
$custom-dark: #000000;
JSON
{
  "hex": "#6062ca",
  "rgb": {
    "r": 96,
    "g": 98,
    "b": 202
  },
  "hsl": {
    "h": 238.868,
    "s": 50,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5481,
    "c": 0.15766,
    "h": 279
  },
  "luminance": 0.15486
}

Semantic roles & 50–950 ramp

primary
#6062CA
secondary
#D8D7AE
accent
#D74EDA
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83

Preview Lab

Preview with #6062CA

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

Preview Lab → · Contrast checker → · Palette generator →

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