#6478CF#6478CF

#6478CF is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.7% C 0.134 H 272.0°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#6478CF
RGBrgb(100, 120, 207)
HSLhsl(229, 53%, 60%)
HSVhsv(229, 52%, 81%)
CMYKcmyk(51.7%, 42%, 0%, 18.8%)
CIE-LABlab(52.56, 17.10, -47.37)
CIE-LCHlch(52.56, 50.36, 289.85°)
OKLaboklab(59.73% 0.0047 -0.1344)
OKLCHoklch(59.73% 0.134 272)
XYZxyz(23.2309, 20.6457, 61.7803)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6478CF #CFBB64
analogous
#64ADCF #6478CF #8564CF
triadic
#6478CF #CF6478 #78CF64
tetradic
#6478CF #CF64AD #CFBB64 #64CF85
square
#6478CF #CF64AD #CFBB64 #64CF85
split-complementary
#6478CF #CF8564 #ADCF64
monochromatic
#2C3E8D #3A52BC #6478CF #93A1DD #C1C9EC

Accessibility & contrast

On white

4.09
#6478CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#6478CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6478CF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6478CF#FFFFFF#000000##000000
##6478CF1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5482D2
Deuteranopia (green-blind)
#4979CD
Tritanopia (blue-blind)
#348B99
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #6478cf;
/* rgb */ color: rgb(100, 120, 207);
/* oklch */ color: oklch(59.7% 0.134 272.0);
Tailwind
colors: {
  custom: {
    50: '#979ede',
    500: '#6478cf',
    950: '#000000',
  },
}
SCSS
$custom: #6478cf;
$custom-light: #979ede;
$custom-dark: #000000;
JSON
{
  "hex": "#6478cf",
  "rgb": {
    "r": 100,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 228.785,
    "s": 52.709,
    "l": 60.196
  },
  "oklch": {
    "l": 0.5973,
    "c": 0.13444,
    "h": 272
  },
  "luminance": 0.20647
}

Semantic roles & 50–950 ramp

primary
#6478CF
secondary
#DCD4B3
accent
#A325C0
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0E15
muted
#7E7E83

Preview Lab

Preview with #6478CF

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

Preview Lab → · Contrast checker → · Palette generator →

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