#6060EB#6060EB

#6060EB is a mid, highly saturated blue. Relative luminance 0.169; OKLCH L 56.8% C 0.204 H 277.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#6060EB
RGBrgb(96, 96, 235)
HSLhsl(240, 78%, 65%)
HSVhsv(240, 59%, 92%)
CMYKcmyk(59.1%, 59.1%, 0%, 7.8%)
CIE-LABlab(48.07, 39.86, -70.43)
CIE-LCHlch(48.07, 80.93, 299.51°)
OKLaboklab(56.85% 0.0274 -0.2024)
OKLCHoklch(56.85% 0.204 277.7)
XYZxyz(23.9973, 16.8489, 80.5687)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6060EB #EBEB60
analogous
#60A6EB #6060EB #A660EB
triadic
#6060EB #EB6060 #60EB60
tetradic
#6060EB #EB60A6 #EBEB60 #60EBA6
square
#6060EB #EB60A6 #EBEB60 #60EBA6
split-complementary
#6060EB #EBA660 #A6EB60
monochromatic
#1717B9 #2A2AE4 #6060EB #9696F2 #CDCDF9

Accessibility & contrast

On white

4.81
#6060EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#6060EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6060EB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6060EB#FFFFFF#000000##FFFFFF
##6060EB1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#006CE8
Tritanopia (blue-blind)
#00829C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6060eb;
/* rgb */ color: rgb(96, 96, 235);
/* oklch */ color: oklch(56.8% 0.204 277.7);
Tailwind
colors: {
  custom: {
    50: '#9a8df2',
    500: '#6060eb',
    950: '#000000',
  },
}
SCSS
$custom: #6060eb;
$custom-light: #9a8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#6060eb",
  "rgb": {
    "r": 96,
    "g": 96,
    "b": 235
  },
  "hsl": {
    "h": 240,
    "s": 77.654,
    "l": 64.902
  },
  "oklch": {
    "l": 0.56849,
    "c": 0.20429,
    "h": 277.7
  },
  "luminance": 0.16851
}

Semantic roles & 50–950 ramp

primary
#6060EB
secondary
#EBEBBC
accent
#DA0CDA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #6060EB

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

Preview Lab → · Contrast checker → · Palette generator →

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