#4B5EC7#4B5EC7

#4B5EC7 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.4% C 0.164 H 271.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4B5EC7
RGBrgb(75, 94, 199)
HSLhsl(231, 53%, 54%)
HSVhsv(231, 62%, 78%)
CMYKcmyk(62.3%, 52.8%, 0%, 22%)
CIE-LABlab(43.69, 25.59, -57.09)
CIE-LCHlch(43.69, 62.56, 294.15°)
OKLaboklab(52.43% 0.0053 -0.1637)
OKLCHoklch(52.43% 0.164 271.9)
XYZxyz(17.2097, 13.6233, 55.7444)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B5EC7 #C7B44B
analogous
#4B9CC7 #4B5EC7 #764BC7
triadic
#4B5EC7 #C74B5E #5EC74B
tetradic
#4B5EC7 #C74B9C #C7B44B #4BC776
square
#4B5EC7 #C74B9C #C7B44B #4BC776
split-complementary
#4B5EC7 #C7764B #9CC74B
monochromatic
#243074 #3244A2 #4B5EC7 #7A88D6 #A8B2E4

Accessibility & contrast

On white

5.64
#4B5EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4B5EC7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B5EC7#FFFFFF#000000##FFFFFF
##4B5EC71.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6DCB
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4b5ec7;
/* rgb */ color: rgb(75, 94, 199);
/* oklch */ color: oklch(52.4% 0.164 271.9);
Tailwind
colors: {
  custom: {
    50: '#898bd9',
    500: '#4b5ec7',
    950: '#000000',
  },
}
SCSS
$custom: #4b5ec7;
$custom-light: #898bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#4b5ec7",
  "rgb": {
    "r": 75,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 230.806,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5243,
    "c": 0.16383,
    "h": 271.9
  },
  "luminance": 0.13625
}

Semantic roles & 50–950 ramp

primary
#4B5EC7
secondary
#D1C99C
accent
#C64CDC
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4B5EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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