#4B57CA#4B57CA

#4B57CA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.3% C 0.177 H 273.9°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#4B57CA
RGBrgb(75, 87, 202)
HSLhsl(234, 55%, 54%)
HSVhsv(234, 63%, 79%)
CMYKcmyk(62.9%, 56.9%, 0%, 20.8%)
CIE-LABlab(42.12, 31.03, -61.36)
CIE-LCHlch(42.12, 68.76, 296.83°)
OKLaboklab(51.32% 0.012 -0.1764)
OKLCHoklch(51.32% 0.177 273.9)
XYZxyz(16.9670, 12.5751, 57.3988)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B57CA #CABE4B
analogous
#4B96CA #4B57CA #7F4BCA
triadic
#4B57CA #CA4B57 #57CA4B
tetradic
#4B57CA #CA4B96 #CABE4B #4BCA7F
square
#4B57CA #CA4B96 #CABE4B #4BCA7F
split-complementary
#4B57CA #CA7F4B #96CA4B
monochromatic
#232B77 #313CA7 #4B57CA #7A83D8 #AAAFE6

Accessibility & contrast

On white

5.97
#4B57CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4B57CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4B57CA
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B57CA#FFFFFF#000000##FFFFFF
##4B57CA1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#005EC8
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4b57ca;
/* rgb */ color: rgb(75, 87, 202);
/* oklch */ color: oklch(51.3% 0.177 273.9);
Tailwind
colors: {
  custom: {
    50: '#8a86db',
    500: '#4b57ca',
    950: '#000000',
  },
}
SCSS
$custom: #4b57ca;
$custom-light: #8a86db;
$custom-dark: #000000;
JSON
{
  "hex": "#4b57ca",
  "rgb": {
    "r": 75,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 234.331,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5132,
    "c": 0.17682,
    "h": 273.9
  },
  "luminance": 0.12577
}

Semantic roles & 50–950 ramp

primary
#4B57CA
secondary
#D3CE9D
accent
#D04ADE
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4B57CA

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

Preview Lab → · Contrast checker → · Palette generator →

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