#6078E8#6078E8

#6078E8 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 61.0% C 0.170 H 271.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#6078E8
RGBrgb(96, 120, 232)
HSLhsl(229, 75%, 64%)
HSVhsv(229, 59%, 91%)
CMYKcmyk(58.6%, 48.3%, 0%, 9%)
CIE-LABlab(53.75, 24.33, -59.56)
CIE-LCHlch(53.75, 64.34, 292.22°)
OKLaboklab(61.04% 0.0042 -0.1703)
OKLCHoklch(61.04% 0.17 271.4)
XYZxyz(26.1010, 21.7439, 79.1498)
Luminance0.2175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6078E8 #E8D060
analogous
#60BCE8 #6078E8 #8C60E8
triadic
#6078E8 #E86078 #78E860
tetradic
#6078E8 #E860BC #E8D060 #60E88C
square
#6078E8 #E860BC #E8D060 #60E88C
split-complementary
#6078E8 #E88C60 #BCE860
monochromatic
#1A35B4 #2B4BE0 #6078E8 #95A5F0 #CBD3F7

Accessibility & contrast

On white

3.93
#6078E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#6078E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6078E8
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6078E8#FFFFFF#000000##000000
##6078E81.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F87EC
Deuteranopia (green-blind)
#277BE6
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6078e8;
/* rgb */ color: rgb(96, 120, 232);
/* oklch */ color: oklch(61.0% 0.170 271.4);
Tailwind
colors: {
  custom: {
    50: '#989ef0',
    500: '#6078e8',
    950: '#000000',
  },
}
SCSS
$custom: #6078e8;
$custom-light: #989ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#6078e8",
  "rgb": {
    "r": 96,
    "g": 120,
    "b": 232
  },
  "hsl": {
    "h": 229.412,
    "s": 74.725,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61042,
    "c": 0.1703,
    "h": 271.4
  },
  "luminance": 0.21746
}

Semantic roles & 50–950 ramp

primary
#6078E8
secondary
#E9E1BA
accent
#B40FD7
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E17
muted
#7E7E85

Preview Lab

Preview with #6078E8

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

Preview Lab → · Contrast checker → · Palette generator →

#6078E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva