#6066EA#6066EA

#6066EA is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.8% C 0.196 H 276.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#6066EA
RGBrgb(96, 102, 234)
HSLhsl(237, 77%, 65%)
HSVhsv(237, 59%, 92%)
CMYKcmyk(59%, 56.4%, 0%, 8.2%)
CIE-LABlab(49.41, 35.93, -67.70)
CIE-LCHlch(49.41, 76.64, 297.96°)
OKLaboklab(57.82% 0.0219 -0.1944)
OKLCHoklch(57.82% 0.196 276.4)
XYZxyz(24.4217, 17.9282, 79.9995)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6066EA #EAE460
analogous
#60ABEA #6066EA #9F60EA
triadic
#6066EA #EA6066 #66EA60
tetradic
#6066EA #EA60AB #EAE460 #60EA9F
square
#6066EA #EA60AB #EAE460 #60EA9F
split-complementary
#6066EA #EA9F60 #ABEA60
monochromatic
#181FB7 #2A32E3 #6066EA #969AF1 #CCCEF8

Accessibility & contrast

On white

4.58
#6066EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#6066EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6066EA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6066EA#FFFFFF#000000##000000
##6066EA1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BEE
Deuteranopia (green-blind)
#0070E7
Tritanopia (blue-blind)
#00859E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #6066ea;
/* rgb */ color: rgb(96, 102, 234);
/* oklch */ color: oklch(57.8% 0.196 276.4);
Tailwind
colors: {
  custom: {
    50: '#9991f2',
    500: '#6066ea',
    950: '#000000',
  },
}
SCSS
$custom: #6066ea;
$custom-light: #9991f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6066ea",
  "rgb": {
    "r": 96,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 237.391,
    "s": 76.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.57819,
    "c": 0.19559,
    "h": 276.4
  },
  "luminance": 0.1793
}

Semantic roles & 50–950 ramp

primary
#6066EA
secondary
#EBE9BB
accent
#D00DD9
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6066EA

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

Preview Lab → · Contrast checker → · Palette generator →

#6066EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva