#4A56CF#4A56CF

#4A56CF is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.5% C 0.185 H 273.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4A56CF
RGBrgb(74, 86, 207)
HSLhsl(235, 58%, 55%)
HSVhsv(235, 64%, 81%)
CMYKcmyk(64.3%, 58.5%, 0%, 18.8%)
CIE-LABlab(42.18, 33.20, -64.15)
CIE-LCHlch(42.18, 72.23, 297.36°)
OKLaboklab(51.47% 0.0118 -0.1846)
OKLCHoklch(51.47% 0.185 273.7)
XYZxyz(17.4106, 12.6149, 60.5368)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A56CF #CFC34A
analogous
#4A99CF #4A56CF #804ACF
triadic
#4A56CF #CF4A56 #56CF4A
tetradic
#4A56CF #CF4A99 #CFC34A #4ACF80
square
#4A56CF #CF4A99 #CFC34A #4ACF80
split-complementary
#4A56CF #CF804A #99CF4A
monochromatic
#212A7D #2E3AAE #4A56CF #7A83DC #ABB0E9

Accessibility & contrast

On white

5.96
#4A56CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4A56CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A56CF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A56CF#FFFFFF#000000##FFFFFF
##4A56CF1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#005ECD
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4a56cf;
/* rgb */ color: rgb(74, 86, 207);
/* oklch */ color: oklch(51.5% 0.185 273.7);
Tailwind
colors: {
  custom: {
    50: '#8b85df',
    500: '#4a56cf',
    950: '#000000',
  },
}
SCSS
$custom: #4a56cf;
$custom-light: #8b85df;
$custom-dark: #000000;
JSON
{
  "hex": "#4a56cf",
  "rgb": {
    "r": 74,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 234.586,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51466,
    "c": 0.18501,
    "h": 273.7
  },
  "luminance": 0.12616
}

Semantic roles & 50–950 ramp

primary
#4A56CF
secondary
#D6D19F
accent
#D346E1
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4A56CF

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

Preview Lab → · Contrast checker → · Palette generator →

#4A56CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva