#4578EC#4578EC

#4578EC is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.9% C 0.184 H 263.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4578EC
RGBrgb(69, 120, 236)
HSLhsl(222, 81%, 60%)
HSVhsv(222, 71%, 93%)
CMYKcmyk(70.8%, 49.2%, 0%, 7.5%)
CIE-LABlab(52.68, 21.35, -63.60)
CIE-LCHlch(52.68, 67.09, 288.55°)
OKLaboklab(59.94% -0.0196 -0.1827)
OKLCHoklch(59.94% 0.184 263.9)
XYZxyz(24.3057, 20.7517, 82.0651)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4578EC #ECB945
analogous
#45CBEC #4578EC #6645EC
triadic
#4578EC #EC4578 #78EC45
tetradic
#4578EC #EC45CB #ECB945 #45EC66
square
#4578EC #EC45CB #ECB945 #45EC66
split-complementary
#4578EC #EC6645 #CBEC45
monochromatic
#113EA6 #1753DD #4578EC #7DA0F2 #B4C9F7

Accessibility & contrast

On white

4.08
#4578EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4578EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4578EC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4578EC#FFFFFF#000000##000000
##4578EC1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3486F0
Deuteranopia (green-blind)
#0076EA
Tritanopia (blue-blind)
#0094A7
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4578ec;
/* rgb */ color: rgb(69, 120, 236);
/* oklch */ color: oklch(59.9% 0.184 263.9);
Tailwind
colors: {
  custom: {
    50: '#8c9ef3',
    500: '#4578ec',
    950: '#000000',
  },
}
SCSS
$custom: #4578ec;
$custom-light: #8c9ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#4578ec",
  "rgb": {
    "r": 69,
    "g": 120,
    "b": 236
  },
  "hsl": {
    "h": 221.677,
    "s": 81.463,
    "l": 59.804
  },
  "oklch": {
    "l": 0.59944,
    "c": 0.18371,
    "h": 263.9
  },
  "luminance": 0.20754
}

Semantic roles & 50–950 ramp

primary
#4578EC
secondary
#E7D3A6
accent
#BB30F8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4578EC

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

Preview Lab → · Contrast checker → · Palette generator →

#4578EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva