#6078CA#6078CA

#6078CA is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.2% C 0.129 H 269.8°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6078CA
RGBrgb(96, 120, 202)
HSLhsl(226, 50%, 58%)
HSVhsv(226, 52%, 79%)
CMYKcmyk(52.5%, 40.6%, 0%, 20.8%)
CIE-LABlab(52.04, 14.62, -45.36)
CIE-LCHlch(52.04, 47.66, 287.87°)
OKLaboklab(59.18% -0.0004 -0.1286)
OKLCHoklch(59.18% 0.129 269.8)
XYZxyz(22.1975, 20.1825, 58.5916)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6078CA #CAB260
analogous
#60ADCA #6078CA #7D60CA
triadic
#6078CA #CA6078 #78CA60
tetradic
#6078CA #CA60AD #CAB260 #60CA7D
square
#6078CA #CA60AD #CAB260 #60CA7D
split-complementary
#6078CA #CA7D60 #ADCA60
monochromatic
#2C4084 #3B56B2 #6078CA #8E9FD9 #BCC6E9

Accessibility & contrast

On white

4.17
#6078CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#6078CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6078CA
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6078CA#FFFFFF#000000##000000
##6078CA1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CD
Deuteranopia (green-blind)
#4B78C8
Tritanopia (blue-blind)
#2E8A97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6078ca;
/* rgb */ color: rgb(96, 120, 202);
/* oklch */ color: oklch(59.2% 0.129 269.8);
Tailwind
colors: {
  custom: {
    50: '#949eda',
    500: '#6078ca',
    950: '#000000',
  },
}
SCSS
$custom: #6078ca;
$custom-light: #949eda;
$custom-dark: #000000;
JSON
{
  "hex": "#6078ca",
  "rgb": {
    "r": 96,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 226.415,
    "s": 50,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59181,
    "c": 0.12856,
    "h": 269.8
  },
  "luminance": 0.20184
}

Semantic roles & 50–950 ramp

primary
#6078CA
secondary
#D8CEAE
accent
#BA4EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6078CA

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

Preview Lab → · Contrast checker → · Palette generator →

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