#6078DC#6078DC

#6078DC is a mid, vivid blue. Relative luminance 0.211; OKLCH L 60.3% C 0.154 H 271.0°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#6078DC
RGBrgb(96, 120, 220)
HSLhsl(228, 64%, 62%)
HSVhsv(228, 56%, 86%)
CMYKcmyk(56.4%, 45.5%, 0%, 13.7%)
CIE-LABlab(53.04, 20.41, -53.97)
CIE-LCHlch(53.04, 57.70, 290.72°)
OKLaboklab(60.27% 0.0027 -0.1538)
OKLCHoklch(60.27% 0.154 271)
XYZxyz(24.4543, 21.0852, 70.4775)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6078DC #DCC460
analogous
#60B6DC #6078DC #8660DC
triadic
#6078DC #DC6078 #78DC60
tetradic
#6078DC #DC60B6 #DCC460 #60DC86
square
#6078DC #DC60B6 #DCC460 #60DC86
split-complementary
#6078DC #DC8660 #B6DC60
monochromatic
#233B9F #2E4DD1 #6078DC #92A3E7 #C4CDF2

Accessibility & contrast

On white

4.02
#6078DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#6078DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6078DC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6078DC#FFFFFF#000000##000000
##6078DC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84E0
Deuteranopia (green-blind)
#397ADA
Tritanopia (blue-blind)
#0E8E9F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6078dc;
/* rgb */ color: rgb(96, 120, 220);
/* oklch */ color: oklch(60.3% 0.154 271.0);
Tailwind
colors: {
  custom: {
    50: '#969ee7',
    500: '#6078dc',
    950: '#000000',
  },
}
SCSS
$custom: #6078dc;
$custom-light: #969ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#6078dc",
  "rgb": {
    "r": 96,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 228.387,
    "s": 63.918,
    "l": 61.961
  },
  "oklch": {
    "l": 0.60271,
    "c": 0.15382,
    "h": 271
  },
  "luminance": 0.21087
}

Semantic roles & 50–950 ramp

primary
#6078DC
secondary
#E3DAB5
accent
#A91ACC
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6078DC

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

Preview Lab → · Contrast checker → · Palette generator →

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