#4B5EC0#4B5EC0

#4B5EC0 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.9% C 0.154 H 271.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#4B5EC0
RGBrgb(75, 94, 192)
HSLhsl(230, 48%, 52%)
HSVhsv(230, 61%, 75%)
CMYKcmyk(60.9%, 51%, 0%, 24.7%)
CIE-LABlab(43.22, 23.19, -53.79)
CIE-LCHlch(43.22, 58.57, 293.32°)
OKLaboklab(51.93% 0.0047 -0.154)
OKLCHoklch(51.93% 0.154 271.8)
XYZxyz(16.4156, 13.3057, 51.5621)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5EC0 #C0AD4B
analogous
#4B99C0 #4B5EC0 #724BC0
triadic
#4B5EC0 #C04B5E #5EC04B
tetradic
#4B5EC0 #C04B99 #C0AD4B #4BC072
square
#4B5EC0 #C04B99 #C0AD4B #4BC072
split-complementary
#4B5EC0 #C0724B #99C04B
monochromatic
#25316B #354598 #4B5EC0 #7887D0 #A6AFE0

Accessibility & contrast

On white

5.74
#4B5EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#4B5EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5EC0
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5EC0#FFFFFF#000000##FFFFFF
##4B5EC01.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276BC4
Deuteranopia (green-blind)
#0761BE
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4b5ec0;
/* rgb */ color: rgb(75, 94, 192);
/* oklch */ color: oklch(51.9% 0.154 271.8);
Tailwind
colors: {
  custom: {
    50: '#888bd4',
    500: '#4b5ec0',
    950: '#000000',
  },
}
SCSS
$custom: #4b5ec0;
$custom-light: #888bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5ec0",
  "rgb": {
    "r": 75,
    "g": 94,
    "b": 192
  },
  "hsl": {
    "h": 230.256,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51928,
    "c": 0.1541,
    "h": 271.8
  },
  "luminance": 0.13307
}

Semantic roles & 50–950 ramp

primary
#4B5EC0
secondary
#CDC59A
accent
#C250D8
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83

Preview Lab

Preview with #4B5EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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