#4456C2#4456C2

#4456C2 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.1% C 0.169 H 271.7°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#4456C2
RGBrgb(68, 86, 194)
HSLhsl(231, 51%, 51%)
HSVhsv(231, 65%, 76%)
CMYKcmyk(64.9%, 55.7%, 0%, 23.9%)
CIE-LABlab(40.86, 27.76, -58.78)
CIE-LCHlch(40.86, 65.01, 295.28°)
OKLaboklab(50.09% 0.0052 -0.169)
OKLCHoklch(50.09% 0.169 271.7)
XYZxyz(15.4460, 11.7782, 52.4879)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4456C2 #C2B044
analogous
#4495C2 #4456C2 #7144C2
triadic
#4456C2 #C24456 #56C244
tetradic
#4456C2 #C24495 #C2B044 #44C271
square
#4456C2 #C24495 #C2B044 #44C271
split-complementary
#4456C2 #C27144 #95C244
monochromatic
#222C69 #314097 #4456C2 #7280D1 #A0A9E0

Accessibility & contrast

On white

6.26
#4456C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#4456C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4456C2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4456C2#FFFFFF#000000##FFFFFF
##4456C21.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C6
Deuteranopia (green-blind)
#005BC0
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4456c2;
/* rgb */ color: rgb(68, 86, 194);
/* oklch */ color: oklch(50.1% 0.169 271.7);
Tailwind
colors: {
  custom: {
    50: '#8585d5',
    500: '#4456c2',
    950: '#000000',
  },
}
SCSS
$custom: #4456c2;
$custom-light: #8585d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4456c2",
  "rgb": {
    "r": 68,
    "g": 86,
    "b": 194
  },
  "hsl": {
    "h": 231.429,
    "s": 50.806,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50088,
    "c": 0.16907,
    "h": 271.7
  },
  "luminance": 0.1178
}

Semantic roles & 50–950 ramp

primary
#4456C2
secondary
#CDC595
accent
#C64EDA
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #4456C2

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

Preview Lab → · Contrast checker → · Palette generator →

#4456C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva