#6078E7#6078E7

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

Color values

HEX#6078E7
RGBrgb(96, 120, 231)
HSLhsl(229, 74%, 64%)
HSVhsv(229, 58%, 91%)
CMYKcmyk(58.4%, 48.1%, 0%, 9.4%)
CIE-LABlab(53.69, 24.00, -59.10)
CIE-LCHlch(53.69, 63.79, 292.10°)
OKLaboklab(60.98% 0.0041 -0.1689)
OKLCHoklch(60.98% 0.169 271.4)
XYZxyz(25.9594, 21.6872, 78.4039)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6078E7 #E7CF60
analogous
#60BCE7 #6078E7 #8C60E7
triadic
#6078E7 #E76078 #78E760
tetradic
#6078E7 #E760BC #E7CF60 #60E78C
square
#6078E7 #E760BC #E7CF60 #60E78C
split-complementary
#6078E7 #E78C60 #BCE760
monochromatic
#1B36B2 #2B4BDF #6078E7 #95A5EF #CAD2F7

Accessibility & contrast

On white

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

On black

5.34
#6078E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6078E7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6078E7#FFFFFF#000000##000000
##6078E71.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4087EB
Deuteranopia (green-blind)
#297BE5
Tritanopia (blue-blind)
#0091A4
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6078e7;
/* rgb */ color: rgb(96, 120, 231);
/* oklch */ color: oklch(61.0% 0.169 271.4);
Tailwind
colors: {
  custom: {
    50: '#989eef',
    500: '#6078e7',
    950: '#000000',
  },
}
SCSS
$custom: #6078e7;
$custom-light: #989eef;
$custom-dark: #000000;
JSON
{
  "hex": "#6078e7",
  "rgb": {
    "r": 96,
    "g": 120,
    "b": 231
  },
  "hsl": {
    "h": 229.333,
    "s": 73.77,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60976,
    "c": 0.16894,
    "h": 271.4
  },
  "luminance": 0.21689
}

Semantic roles & 50–950 ramp

primary
#6078E7
secondary
#E9E1BA
accent
#B310D6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #6078E7

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

Preview Lab → · Contrast checker → · Palette generator →

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