#6078EF#6078EF

#6078EF is a mid, vivid blue. Relative luminance 0.222; OKLCH L 61.5% C 0.180 H 271.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#6078EF
RGBrgb(96, 120, 239)
HSLhsl(230, 82%, 66%)
HSVhsv(230, 60%, 94%)
CMYKcmyk(59.8%, 49.8%, 0%, 6.3%)
CIE-LABlab(54.19, 26.63, -62.78)
CIE-LCHlch(54.19, 68.19, 292.98°)
OKLaboklab(61.51% 0.005 -0.1797)
OKLCHoklch(61.51% 0.18 271.6)
XYZxyz(27.1151, 22.1495, 84.4910)
Luminance0.2215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6078EF #EFD760
analogous
#60BFEF #6078EF #8F60EF
triadic
#6078EF #EF6078 #78EF60
tetradic
#6078EF #EF60BF #EFD760 #60EF8F
square
#6078EF #EF60BF #EFD760 #60EF8F
split-complementary
#6078EF #EF8F60 #BFEF60
monochromatic
#1331C1 #2849E9 #6078EF #98A7F5 #CFD6FA

Accessibility & contrast

On white

3.87
#6078EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#6078EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6078EF
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6078EF#FFFFFF#000000##000000
##6078EF1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3788F3
Deuteranopia (green-blind)
#167CED
Tritanopia (blue-blind)
#0093A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #6078ef;
/* rgb */ color: rgb(96, 120, 239);
/* oklch */ color: oklch(61.5% 0.180 271.6);
Tailwind
colors: {
  custom: {
    50: '#999ef5',
    500: '#6078ef',
    950: '#000000',
  },
}
SCSS
$custom: #6078ef;
$custom-light: #999ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#6078ef",
  "rgb": {
    "r": 96,
    "g": 120,
    "b": 239
  },
  "hsl": {
    "h": 229.93,
    "s": 81.714,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61507,
    "c": 0.17977,
    "h": 271.6
  },
  "luminance": 0.22152
}

Semantic roles & 50–950 ramp

primary
#6078EF
secondary
#EDE5BE
accent
#BA07DE
background
#FAF9FF
surface
#F3F2FE
border
#CDCCD6
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6078EF

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

Preview Lab → · Contrast checker → · Palette generator →

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