#6478DF#6478DF

#6478DF is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.7% C 0.157 H 272.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#6478DF
RGBrgb(100, 120, 223)
HSLhsl(230, 66%, 63%)
HSVhsv(230, 55%, 87%)
CMYKcmyk(55.2%, 46.2%, 0%, 12.5%)
CIE-LABlab(53.46, 22.19, -54.98)
CIE-LCHlch(53.46, 59.29, 291.98°)
OKLaboklab(60.71% 0.0072 -0.1567)
OKLCHoklch(60.71% 0.157 272.6)
XYZxyz(25.2869, 21.4682, 72.6090)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6478DF #DFCB64
analogous
#64B5DF #6478DF #8D64DF
triadic
#6478DF #DF6478 #78DF64
tetradic
#6478DF #DF64B5 #DFCB64 #64DF8D
square
#6478DF #DF64B5 #DFCB64 #64DF8D
split-complementary
#6478DF #DF8D64 #B5DF64
monochromatic
#2238A6 #314CD5 #6478DF #97A4E9 #C9D0F4

Accessibility & contrast

On white

3.97
#6478DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#6478DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6478DF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6478DF#FFFFFF#000000##000000
##6478DF1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4985E3
Deuteranopia (green-blind)
#397BDD
Tritanopia (blue-blind)
#1F8FA1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #6478df;
/* rgb */ color: rgb(100, 120, 223);
/* oklch */ color: oklch(60.7% 0.157 272.6);
Tailwind
colors: {
  custom: {
    50: '#999ee9',
    500: '#6478df',
    950: '#000000',
  },
}
SCSS
$custom: #6478df;
$custom-light: #999ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#6478df",
  "rgb": {
    "r": 100,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 230.244,
    "s": 65.775,
    "l": 63.333
  },
  "oklch": {
    "l": 0.60707,
    "c": 0.15685,
    "h": 272.6
  },
  "luminance": 0.2147
}

Semantic roles & 50–950 ramp

primary
#6478DF
secondary
#E5DEB9
accent
#B018CE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0F0E16
muted
#7E7E84

Preview Lab

Preview with #6478DF

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

Preview Lab → · Contrast checker → · Palette generator →

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