#4D54CA#4D54CA

#4D54CA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.9% C 0.180 H 275.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#4D54CA
RGBrgb(77, 84, 202)
HSLhsl(237, 54%, 55%)
HSVhsv(237, 62%, 79%)
CMYKcmyk(61.9%, 58.4%, 0%, 20.8%)
CIE-LABlab(41.50, 33.24, -62.35)
CIE-LCHlch(41.50, 70.66, 298.06°)
OKLaboklab(50.9% 0.0169 -0.1793)
OKLCHoklch(50.9% 0.18 275.4)
XYZxyz(16.8881, 12.1813, 57.3269)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D54CA #CAC34D
analogous
#4D93CA #4D54CA #854DCA
triadic
#4D54CA #CA4D54 #54CA4D
tetradic
#4D54CA #CA4D93 #CAC34D #4DCA85
square
#4D54CA #CA4D93 #CAC34D #4DCA85
split-complementary
#4D54CA #CA854D #93CA4D
monochromatic
#242979 #3239A8 #4D54CA #7C81D8 #ABAFE6

Accessibility & contrast

On white

6.11
#4D54CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#4D54CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D54CA
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D54CA#FFFFFF#000000##FFFFFF
##4D54CA1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#007187
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d54ca;
/* rgb */ color: rgb(77, 84, 202);
/* oklch */ color: oklch(50.9% 0.180 275.4);
Tailwind
colors: {
  custom: {
    50: '#8b84db',
    500: '#4d54ca',
    950: '#000000',
  },
}
SCSS
$custom: #4d54ca;
$custom-light: #8b84db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d54ca",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 236.64,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.50897,
    "c": 0.18009,
    "h": 275.4
  },
  "luminance": 0.12183
}

Semantic roles & 50–950 ramp

primary
#4D54CA
secondary
#D4D19F
accent
#D54ADD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D54CA

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

Preview Lab → · Contrast checker → · Palette generator →

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