#6066E4#6066E4

#6066E4 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 57.4% C 0.188 H 276.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#6066E4
RGBrgb(96, 102, 228)
HSLhsl(237, 71%, 64%)
HSVhsv(237, 58%, 89%)
CMYKcmyk(57.9%, 55.3%, 0%, 10.6%)
CIE-LABlab(48.99, 34.00, -64.99)
CIE-LCHlch(48.99, 73.35, 297.62°)
OKLaboklab(57.38% 0.0218 -0.1864)
OKLCHoklch(57.38% 0.188 276.7)
XYZxyz(23.5743, 17.5893, 75.5365)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6066E4 #E4DE60
analogous
#60A8E4 #6066E4 #9C60E4
triadic
#6066E4 #E46066 #66E460
tetradic
#6066E4 #E460A8 #E4DE60 #60E49C
square
#6066E4 #E460A8 #E4DE60 #60E49C
split-complementary
#6066E4 #E49C60 #A8E460
monochromatic
#1D24AC #2C34DB #6066E4 #9498ED #C9CBF6

Accessibility & contrast

On white

4.65
#6066E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#6066E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #6066E4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6066E4#FFFFFF#000000##FFFFFF
##6066E41.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#006FE1
Tritanopia (blue-blind)
#00849B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #6066e4;
/* rgb */ color: rgb(96, 102, 228);
/* oklch */ color: oklch(57.4% 0.188 276.7);
Tailwind
colors: {
  custom: {
    50: '#9891ed',
    500: '#6066e4',
    950: '#000000',
  },
}
SCSS
$custom: #6066e4;
$custom-light: #9891ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6066e4",
  "rgb": {
    "r": 96,
    "g": 102,
    "b": 228
  },
  "hsl": {
    "h": 237.273,
    "s": 70.968,
    "l": 63.529
  },
  "oklch": {
    "l": 0.57379,
    "c": 0.18767,
    "h": 276.7
  },
  "luminance": 0.17591
}

Semantic roles & 50–950 ramp

primary
#6066E4
secondary
#E7E5B9
accent
#CA13D3
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0C16
muted
#7F7D84

Preview Lab

Preview with #6066E4

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

Preview Lab → · Contrast checker → · Palette generator →

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