#6478CA#6478CA

#6478CA is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.4% C 0.127 H 271.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6478CA
RGBrgb(100, 120, 202)
HSLhsl(228, 49%, 59%)
HSVhsv(228, 50%, 79%)
CMYKcmyk(50.5%, 40.6%, 0%, 20.8%)
CIE-LABlab(52.29, 15.53, -44.95)
CIE-LCHlch(52.29, 47.56, 289.06°)
OKLaboklab(59.44% 0.0038 -0.1273)
OKLCHoklch(59.44% 0.127 271.7)
XYZxyz(22.6292, 20.4051, 58.6118)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6478CA #CAB664
analogous
#64ABCA #6478CA #8364CA
triadic
#6478CA #CA6478 #78CA64
tetradic
#6478CA #CA64AB #CAB664 #64CA83
square
#6478CA #CA64AB #CAB664 #64CA83
split-complementary
#6478CA #CA8364 #ABCA64
monochromatic
#2E3F86 #3D55B3 #6478CA #92A0DA #BFC7E9

Accessibility & contrast

On white

4.13
#6478CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#6478CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6478CA
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6478CA#FFFFFF#000000##000000
##6478CA1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CD
Deuteranopia (green-blind)
#4D79C8
Tritanopia (blue-blind)
#388997
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6478ca;
/* rgb */ color: rgb(100, 120, 202);
/* oklch */ color: oklch(59.4% 0.127 271.7);
Tailwind
colors: {
  custom: {
    50: '#969eda',
    500: '#6478ca',
    950: '#000000',
  },
}
SCSS
$custom: #6478ca;
$custom-light: #969eda;
$custom-dark: #000000;
JSON
{
  "hex": "#6478ca",
  "rgb": {
    "r": 100,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 228.235,
    "s": 49.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59438,
    "c": 0.12734,
    "h": 271.7
  },
  "luminance": 0.20407
}

Semantic roles & 50–950 ramp

primary
#6478CA
secondary
#D9D1B1
accent
#BE4FD9
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6478CA

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

Preview Lab → · Contrast checker → · Palette generator →

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