#6478BF#6478BF

#6478BF is a mid, moderate blue. Relative luminance 0.199; OKLCH L 58.8% C 0.112 H 270.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#6478BF
RGBrgb(100, 120, 191)
HSLhsl(227, 42%, 57%)
HSVhsv(227, 48%, 75%)
CMYKcmyk(47.6%, 37.2%, 0%, 25.1%)
CIE-LABlab(51.73, 12.12, -39.56)
CIE-LCHlch(51.73, 41.37, 287.04°)
OKLaboklab(58.82% 0.0015 -0.1115)
OKLCHoklch(58.82% 0.112 270.7)
XYZxyz(21.3730, 19.9026, 51.9955)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6478BF #BFAB64
analogous
#64A6BF #6478BF #7E64BF
triadic
#6478BF #BF6478 #78BF64
tetradic
#6478BF #BF64A6 #BFAB64 #64BF7E
square
#6478BF #BF64A6 #BFAB64 #64BF7E
split-complementary
#6478BF #BF7E64 #A6BF64
monochromatic
#314177 #4358A3 #6478BF #8F9ED1 #BBC3E3

Accessibility & contrast

On white

4.22
#6478BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#6478BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6478BF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6478BF#FFFFFF#000000##000000
##6478BF1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7FC2
Deuteranopia (green-blind)
#5478BD
Tritanopia (blue-blind)
#418792
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #6478bf;
/* rgb */ color: rgb(100, 120, 191);
/* oklch */ color: oklch(58.8% 0.112 270.7);
Tailwind
colors: {
  custom: {
    50: '#959ed2',
    500: '#6478bf',
    950: '#000000',
  },
}
SCSS
$custom: #6478bf;
$custom-light: #959ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#6478bf",
  "rgb": {
    "r": 100,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 226.813,
    "s": 41.553,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58819,
    "c": 0.11154,
    "h": 270.7
  },
  "luminance": 0.19904
}

Semantic roles & 50–950 ramp

primary
#6478BF
secondary
#D2CAAD
accent
#B656D1
background
#F9F9FC
surface
#F2F2F9
border
#CCCCD2
text
#0E0E14
muted
#7E7E82

Preview Lab

Preview with #6478BF

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

Preview Lab → · Contrast checker → · Palette generator →

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