#4B56DA#4B56DA

#4B56DA is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.4% C 0.199 H 273.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#4B56DA
RGBrgb(75, 86, 218)
HSLhsl(235, 66%, 57%)
HSVhsv(235, 66%, 85%)
CMYKcmyk(65.6%, 60.6%, 0%, 14.5%)
CIE-LABlab(43.08, 37.08, -68.98)
CIE-LCHlch(43.08, 78.32, 298.26°)
OKLaboklab(52.41% 0.0127 -0.1988)
OKLCHoklch(52.41% 0.199 273.7)
XYZxyz(18.8801, 13.2117, 67.8712)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B56DA #DACF4B
analogous
#4B9DDA #4B56DA #884BDA
triadic
#4B56DA #DA4B56 #56DA4B
tetradic
#4B56DA #DA4B9D #DACF4B #4BDA88
square
#4B56DA #DA4B9D #DACF4B #4BDA88
split-complementary
#4B56DA #DA884B #9DDA4B
monochromatic
#1D268E #2833C0 #4B56DA #7E86E4 #B1B5EF

Accessibility & contrast

On white

5.77
#4B56DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4B56DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B56DA
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B56DA#FFFFFF#000000##FFFFFF
##4B56DA1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDE
Deuteranopia (green-blind)
#005FD7
Tritanopia (blue-blind)
#007790
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4b56da;
/* rgb */ color: rgb(75, 86, 218);
/* oklch */ color: oklch(52.4% 0.199 273.7);
Tailwind
colors: {
  custom: {
    50: '#8d85e6',
    500: '#4b56da',
    950: '#000000',
  },
}
SCSS
$custom: #4b56da;
$custom-light: #8d85e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b56da",
  "rgb": {
    "r": 75,
    "g": 86,
    "b": 218
  },
  "hsl": {
    "h": 235.385,
    "s": 65.899,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52414,
    "c": 0.19922,
    "h": 273.7
  },
  "luminance": 0.13213
}

Semantic roles & 50–950 ramp

primary
#4B56DA
secondary
#DDD9A4
accent
#DC3FE9
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4B56DA

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

Preview Lab → · Contrast checker → · Palette generator →

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