#6078EA#6078EA

#6078EA is a mid, vivid blue. Relative luminance 0.219; OKLCH L 61.2% C 0.173 H 271.5°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#6078EA
RGBrgb(96, 120, 234)
HSLhsl(230, 77%, 65%)
HSVhsv(230, 59%, 92%)
CMYKcmyk(59%, 48.7%, 0%, 8.2%)
CIE-LABlab(53.88, 24.99, -60.49)
CIE-LCHlch(53.88, 65.44, 292.45°)
OKLaboklab(61.17% 0.0045 -0.173)
OKLCHoklch(61.17% 0.173 271.5)
XYZxyz(26.3867, 21.8581, 80.6545)
Luminance0.2186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6078EA #EAD260
analogous
#60BDEA #6078EA #8D60EA
triadic
#6078EA #EA6078 #78EA60
tetradic
#6078EA #EA60BD #EAD260 #60EA8D
square
#6078EA #EA60BD #EAD260 #60EA8D
split-complementary
#6078EA #EA8D60 #BDEA60
monochromatic
#1834B7 #2A4AE3 #6078EA #96A6F1 #CCD4F8

Accessibility & contrast

On white

3.91
#6078EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#6078EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6078EA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6078EA#FFFFFF#000000##000000
##6078EA1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D87EE
Deuteranopia (green-blind)
#237BE8
Tritanopia (blue-blind)
#0092A6
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #6078ea;
/* rgb */ color: rgb(96, 120, 234);
/* oklch */ color: oklch(61.2% 0.173 271.5);
Tailwind
colors: {
  custom: {
    50: '#989ef1',
    500: '#6078ea',
    950: '#000000',
  },
}
SCSS
$custom: #6078ea;
$custom-light: #989ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#6078ea",
  "rgb": {
    "r": 96,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 229.565,
    "s": 76.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.61174,
    "c": 0.17302,
    "h": 271.5
  },
  "luminance": 0.2186
}

Semantic roles & 50–950 ramp

primary
#6078EA
secondary
#EBE2BB
accent
#B50DD9
background
#FAF9FE
surface
#F3F2FD
border
#CDCCD5
text
#0F0E17
muted
#7F7E85

Preview Lab

Preview with #6078EA

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

Preview Lab → · Contrast checker → · Palette generator →

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