#6078DF#6078DF

#6078DF is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.5% C 0.158 H 271.1°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6078DF
RGBrgb(96, 120, 223)
HSLhsl(229, 66%, 63%)
HSVhsv(229, 57%, 87%)
CMYKcmyk(57%, 46.2%, 0%, 12.5%)
CIE-LABlab(53.22, 21.39, -55.38)
CIE-LCHlch(53.22, 59.36, 291.12°)
OKLaboklab(60.46% 0.0031 -0.1579)
OKLCHoklch(60.46% 0.158 271.1)
XYZxyz(24.8552, 21.2456, 72.5888)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6078DF #DFC760
analogous
#60B8DF #6078DF #8760DF
triadic
#6078DF #DF6078 #78DF60
tetradic
#6078DF #DF60B8 #DFC760 #60DF87
square
#6078DF #DF60B8 #DFC760 #60DF87
split-complementary
#6078DF #DF8760 #B8DF60
monochromatic
#213AA4 #2D4DD5 #6078DF #93A3E9 #C6CFF4

Accessibility & contrast

On white

4.00
#6078DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#6078DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6078DF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6078DF#FFFFFF#000000##000000
##6078DF1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4885E3
Deuteranopia (green-blind)
#367ADD
Tritanopia (blue-blind)
#028FA1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #6078df;
/* rgb */ color: rgb(96, 120, 223);
/* oklch */ color: oklch(60.5% 0.158 271.1);
Tailwind
colors: {
  custom: {
    50: '#979ee9',
    500: '#6078df',
    950: '#000000',
  },
}
SCSS
$custom: #6078df;
$custom-light: #979ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#6078df",
  "rgb": {
    "r": 96,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 228.661,
    "s": 66.492,
    "l": 62.549
  },
  "oklch": {
    "l": 0.60461,
    "c": 0.15797,
    "h": 271.1
  },
  "luminance": 0.21247
}

Semantic roles & 50–950 ramp

primary
#6078DF
secondary
#E4DCB6
accent
#AC17CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6078DF

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

Preview Lab → · Contrast checker → · Palette generator →

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