#4B59D4#4B59D4

#4B59D4 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.5% C 0.188 H 273.2°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#4B59D4
RGBrgb(75, 89, 212)
HSLhsl(234, 61%, 56%)
HSVhsv(234, 65%, 83%)
CMYKcmyk(64.6%, 58%, 0%, 16.9%)
CIE-LABlab(43.35, 33.19, -65.11)
CIE-LCHlch(43.35, 73.08, 297.01°)
OKLaboklab(52.47% 0.0103 -0.1874)
OKLCHoklch(52.47% 0.188 273.2)
XYZxyz(18.3537, 13.3925, 63.8924)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B59D4 #D4C64B
analogous
#4B9ED4 #4B59D4 #824BD4
triadic
#4B59D4 #D44B59 #59D44B
tetradic
#4B59D4 #D44B9E #D4C64B #4BD482
square
#4B59D4 #D44B9E #D4C64B #4BD482
split-complementary
#4B59D4 #D4824B #9ED44B
monochromatic
#202A85 #2C3AB6 #4B59D4 #7C87E0 #AEB4EC

Accessibility & contrast

On white

5.71
#4B59D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4B59D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B59D4
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B59D4#FFFFFF#000000##FFFFFF
##4B59D41.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#0060D2
Tritanopia (blue-blind)
#00778E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4b59d4;
/* rgb */ color: rgb(75, 89, 212);
/* oklch */ color: oklch(52.5% 0.188 273.2);
Tailwind
colors: {
  custom: {
    50: '#8c87e2',
    500: '#4b59d4',
    950: '#000000',
  },
}
SCSS
$custom: #4b59d4;
$custom-light: #8c87e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4b59d4",
  "rgb": {
    "r": 75,
    "g": 89,
    "b": 212
  },
  "hsl": {
    "h": 233.869,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52469,
    "c": 0.18769,
    "h": 273.2
  },
  "luminance": 0.13394
}

Semantic roles & 50–950 ramp

primary
#4B59D4
secondary
#DAD4A1
accent
#D443E5
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4B59D4

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

Preview Lab → · Contrast checker → · Palette generator →

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