#4D4BA8#4D4BA8

#4D4BA8 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.6% C 0.145 H 280.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#4D4BA8
RGBrgb(77, 75, 168)
HSLhsl(241, 38%, 48%)
HSVhsv(241, 55%, 66%)
CMYKcmyk(54.2%, 55.4%, 0%, 34.1%)
CIE-LABlab(36.81, 27.60, -50.00)
CIE-LCHlch(36.81, 57.11, 298.90°)
OKLaboklab(46.63% 0.0255 -0.143)
OKLCHoklch(46.63% 0.145 280.1)
XYZxyz(12.6423, 9.4363, 38.1934)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4BA8 #A6A84B
analogous
#4B78A8 #4D4BA8 #7B4BA8
triadic
#4D4BA8 #A84D4B #4BA84D
tetradic
#4D4BA8 #A84B78 #A6A84B #4BA87B
square
#4D4BA8 #A84B78 #A6A84B #4BA87B
split-complementary
#4D4BA8 #A87B4B #78A84B
monochromatic
#262553 #3A387E #4D4BA8 #7271BF #9C9BD2

Accessibility & contrast

On white

7.27
#4D4BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#4D4BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D4BA8
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4BA8#FFFFFF#000000##FFFFFF
##4D4BA81.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105AAB
Deuteranopia (green-blind)
#0053A6
Tritanopia (blue-blind)
#246072
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4d4ba8;
/* rgb */ color: rgb(77, 75, 168);
/* oklch */ color: oklch(46.6% 0.145 280.1);
Tailwind
colors: {
  custom: {
    50: '#867dc2',
    500: '#4d4ba8',
    950: '#000000',
  },
}
SCSS
$custom: #4d4ba8;
$custom-light: #867dc2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4ba8",
  "rgb": {
    "r": 77,
    "g": 75,
    "b": 168
  },
  "hsl": {
    "h": 241.29,
    "s": 38.272,
    "l": 47.647
  },
  "oklch": {
    "l": 0.46634,
    "c": 0.14528,
    "h": 280.1
  },
  "luminance": 0.09437
}

Semantic roles & 50–950 ramp

primary
#4D4BA8
secondary
#BEBF90
accent
#CE5ACC
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0912
muted
#7D7B81

Preview Lab

Preview with #4D4BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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