#4678DC#4678DC

#4678DC is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.9% C 0.162 H 262.5°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4678DC
RGBrgb(70, 120, 220)
HSLhsl(220, 68%, 57%)
HSVhsv(220, 68%, 86%)
CMYKcmyk(68.2%, 45.5%, 0%, 13.7%)
CIE-LABlab(51.72, 15.80, -56.15)
CIE-LCHlch(51.72, 58.33, 285.72°)
OKLaboklab(58.91% -0.0211 -0.1607)
OKLCHoklch(58.91% 0.162 262.5)
XYZxyz(22.1559, 19.9001, 70.3697)
Luminance0.1990 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4678DC #DCAA46
analogous
#46C3DC #4678DC #5F46DC
triadic
#4678DC #DC4678 #78DC46
tetradic
#4678DC #DC46C3 #DCAA46 #46DC5F
square
#4678DC #DC46C3 #DCAA46 #46DC5F
split-complementary
#4678DC #DC5F46 #C3DC46
monochromatic
#1B418D #2458C0 #4678DC #799EE6 #ADC3EF

Accessibility & contrast

On white

4.22
#4678DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4678DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4678DC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4678DC#FFFFFF#000000##000000
##4678DC1.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)
#4683E0
Deuteranopia (green-blind)
#2875DA
Tritanopia (blue-blind)
#008F9F
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4678dc;
/* rgb */ color: rgb(70, 120, 220);
/* oklch */ color: oklch(58.9% 0.162 262.5);
Tailwind
colors: {
  custom: {
    50: '#8a9ee7',
    500: '#4678dc',
    950: '#000000',
  },
}
SCSS
$custom: #4678dc;
$custom-light: #8a9ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#4678dc",
  "rgb": {
    "r": 70,
    "g": 120,
    "b": 220
  },
  "hsl": {
    "h": 220,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58907,
    "c": 0.16211,
    "h": 262.5
  },
  "luminance": 0.19902
}

Semantic roles & 50–950 ramp

primary
#4678DC
secondary
#DDC9A0
accent
#B13DEB
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4678DC

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

Preview Lab → · Contrast checker → · Palette generator →

#4678DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva