#4B5EC4#4B5EC4

#4B5EC4 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.2% C 0.160 H 271.8°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4B5EC4
RGBrgb(75, 94, 196)
HSLhsl(231, 51%, 53%)
HSVhsv(231, 62%, 77%)
CMYKcmyk(61.7%, 52%, 0%, 23.1%)
CIE-LABlab(43.49, 24.56, -55.68)
CIE-LCHlch(43.49, 60.85, 293.80°)
OKLaboklab(52.21% 0.0051 -0.1596)
OKLCHoklch(52.21% 0.16 271.8)
XYZxyz(16.8648, 13.4854, 53.9280)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5EC4 #C4B14B
analogous
#4B9AC4 #4B5EC4 #754BC4
triadic
#4B5EC4 #C44B5E #5EC44B
tetradic
#4B5EC4 #C44B9A #C4B14B #4BC475
square
#4B5EC4 #C44B9A #C4B14B #4BC475
split-complementary
#4B5EC4 #C4754B #9AC44B
monochromatic
#253070 #34449E #4B5EC4 #7987D3 #A7B0E2

Accessibility & contrast

On white

5.68
#4B5EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4B5EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5EC4
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5EC4#FFFFFF#000000##FFFFFF
##4B5EC41.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216CC8
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4b5ec4;
/* rgb */ color: rgb(75, 94, 196);
/* oklch */ color: oklch(52.2% 0.160 271.8);
Tailwind
colors: {
  custom: {
    50: '#898bd6',
    500: '#4b5ec4',
    950: '#000000',
  },
}
SCSS
$custom: #4b5ec4;
$custom-light: #898bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5ec4",
  "rgb": {
    "r": 75,
    "g": 94,
    "b": 196
  },
  "hsl": {
    "h": 230.579,
    "s": 50.628,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52213,
    "c": 0.15968,
    "h": 271.8
  },
  "luminance": 0.13487
}

Semantic roles & 50–950 ramp

primary
#4B5EC4
secondary
#CFC79B
accent
#C44EDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83

Preview Lab

Preview with #4B5EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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