#4D5ACA#4D5ACA

#4D5ACA is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.0% C 0.173 H 273.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4D5ACA
RGBrgb(77, 90, 202)
HSLhsl(234, 54%, 55%)
HSVhsv(234, 62%, 79%)
CMYKcmyk(61.9%, 55.4%, 0%, 20.8%)
CIE-LABlab(42.99, 29.48, -59.94)
CIE-LCHlch(42.99, 66.80, 296.19°)
OKLaboklab(52.01% 0.0114 -0.1721)
OKLCHoklch(52.01% 0.173 273.8)
XYZxyz(17.3739, 13.1530, 57.4889)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5ACA #CABD4D
analogous
#4D99CA #4D5ACA #7F4DCA
triadic
#4D5ACA #CA4D5A #5ACA4D
tetradic
#4D5ACA #CA4D99 #CABD4D #4DCA7F
square
#4D5ACA #CA4D99 #CABD4D #4DCA7F
split-complementary
#4D5ACA #CA7F4D #99CA4D
monochromatic
#242D79 #323EA8 #4D5ACA #7C86D8 #ABB1E6

Accessibility & contrast

On white

5.78
#4D5ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4D5ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5ACA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5ACA#FFFFFF#000000##FFFFFF
##4D5ACA1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d5aca;
/* rgb */ color: rgb(77, 90, 202);
/* oklch */ color: oklch(52.0% 0.173 273.8);
Tailwind
colors: {
  custom: {
    50: '#8b88db',
    500: '#4d5aca',
    950: '#000000',
  },
}
SCSS
$custom: #4d5aca;
$custom-light: #8b88db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5aca",
  "rgb": {
    "r": 77,
    "g": 90,
    "b": 202
  },
  "hsl": {
    "h": 233.76,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52006,
    "c": 0.17251,
    "h": 273.8
  },
  "luminance": 0.13154
}

Semantic roles & 50–950 ramp

primary
#4D5ACA
secondary
#D4CE9F
accent
#CE4ADD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D5ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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