#4D5ABC#4D5ABC

#4D5ABC is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.0% C 0.153 H 274.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4D5ABC
RGBrgb(77, 90, 188)
HSLhsl(233, 45%, 52%)
HSVhsv(233, 59%, 74%)
CMYKcmyk(59%, 52.1%, 0%, 26.3%)
CIE-LABlab(42.03, 24.74, -53.37)
CIE-LCHlch(42.03, 58.82, 294.87°)
OKLaboklab(50.98% 0.0106 -0.1528)
OKLCHoklch(50.98% 0.153 274)
XYZxyz(15.7909, 12.5197, 49.1516)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5ABC #BCAF4D
analogous
#4D92BC #4D5ABC #784DBC
triadic
#4D5ABC #BC4D5A #5ABC4D
tetradic
#4D5ABC #BC4D92 #BCAF4D #4DBC78
square
#4D5ABC #BC4D92 #BCAF4D #4DBC78
split-complementary
#4D5ABC #BC784D #92BC4D
monochromatic
#272F68 #384394 #4D5ABC #7983CD #A6ACDD

Accessibility & contrast

On white

5.99
#4D5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4D5ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5ABC
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5ABC#FFFFFF#000000##FFFFFF
##4D5ABC1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2268BF
Deuteranopia (green-blind)
#025FBA
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d5abc;
/* rgb */ color: rgb(77, 90, 188);
/* oklch */ color: oklch(51.0% 0.153 274.0);
Tailwind
colors: {
  custom: {
    50: '#8988d1',
    500: '#4d5abc',
    950: '#000000',
  },
}
SCSS
$custom: #4d5abc;
$custom-light: #8988d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5abc",
  "rgb": {
    "r": 77,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 232.973,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50979,
    "c": 0.15318,
    "h": 274
  },
  "luminance": 0.12521
}

Semantic roles & 50–950 ramp

primary
#4D5ABC
secondary
#CBC59A
accent
#C653D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4D5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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