#4B5EC8#4B5EC8

#4B5EC8 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.5% C 0.165 H 271.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#4B5EC8
RGBrgb(75, 94, 200)
HSLhsl(231, 53%, 54%)
HSVhsv(231, 63%, 78%)
CMYKcmyk(62.5%, 53%, 0%, 21.6%)
CIE-LABlab(43.76, 25.94, -57.55)
CIE-LCHlch(43.76, 63.13, 294.26°)
OKLaboklab(52.5% 0.0054 -0.1651)
OKLCHoklch(52.5% 0.165 271.9)
XYZxyz(17.3262, 13.6699, 56.3579)
Luminance0.1367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5EC8 #C8B54B
analogous
#4B9DC8 #4B5EC8 #774BC8
triadic
#4B5EC8 #C84B5E #5EC84B
tetradic
#4B5EC8 #C84B9D #C8B54B #4BC877
square
#4B5EC8 #C84B9D #C8B54B #4BC877
split-complementary
#4B5EC8 #C8774B #9DC84B
monochromatic
#243075 #3243A4 #4B5EC8 #7A88D6 #A9B2E5

Accessibility & contrast

On white

5.62
#4B5EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4B5EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B5EC8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5EC8#FFFFFF#000000##FFFFFF
##4B5EC81.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6DCC
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4b5ec8;
/* rgb */ color: rgb(75, 94, 200);
/* oklch */ color: oklch(52.5% 0.165 271.9);
Tailwind
colors: {
  custom: {
    50: '#898bd9',
    500: '#4b5ec8',
    950: '#000000',
  },
}
SCSS
$custom: #4b5ec8;
$custom-light: #898bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5ec8",
  "rgb": {
    "r": 75,
    "g": 94,
    "b": 200
  },
  "hsl": {
    "h": 230.88,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.52503,
    "c": 0.16521,
    "h": 271.9
  },
  "luminance": 0.13671
}

Semantic roles & 50–950 ramp

primary
#4B5EC8
secondary
#D2CA9D
accent
#C64BDD
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4B5EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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