#6066EB#6066EB

#6066EB is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.9% C 0.197 H 276.4°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#6066EB
RGBrgb(96, 102, 235)
HSLhsl(237, 78%, 65%)
HSVhsv(237, 59%, 92%)
CMYKcmyk(59.1%, 56.6%, 0%, 7.8%)
CIE-LABlab(49.48, 36.26, -68.14)
CIE-LCHlch(49.48, 77.19, 298.02°)
OKLaboklab(57.89% 0.0219 -0.1957)
OKLCHoklch(57.89% 0.197 276.4)
XYZxyz(24.5658, 17.9858, 80.7582)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6066EB #EBE560
analogous
#60ACEB #6066EB #9F60EB
triadic
#6066EB #EB6066 #66EB60
tetradic
#6066EB #EB60AC #EBE560 #60EB9F
square
#6066EB #EB60AC #EBE560 #60EB9F
split-complementary
#6066EB #EB9F60 #ACEB60
monochromatic
#171EB9 #2A32E4 #6066EB #969AF2 #CDCFF9

Accessibility & contrast

On white

4.57
#6066EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#6066EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6066EB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6066EB#FFFFFF#000000##000000
##6066EB1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#0070E8
Tritanopia (blue-blind)
#00869F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #6066eb;
/* rgb */ color: rgb(96, 102, 235);
/* oklch */ color: oklch(57.9% 0.197 276.4);
Tailwind
colors: {
  custom: {
    50: '#9991f2',
    500: '#6066eb',
    950: '#000000',
  },
}
SCSS
$custom: #6066eb;
$custom-light: #9991f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6066eb",
  "rgb": {
    "r": 96,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 237.41,
    "s": 77.654,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57893,
    "c": 0.1969,
    "h": 276.4
  },
  "luminance": 0.17988
}

Semantic roles & 50–950 ramp

primary
#6066EB
secondary
#EBE9BC
accent
#D10CDA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0D17
muted
#7F7D85

Preview Lab

Preview with #6066EB

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

Preview Lab → · Contrast checker → · Palette generator →

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