#4A4DBA#4A4DBA

#4A4DBA is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.2% C 0.168 H 276.8°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#4A4DBA
RGBrgb(74, 77, 186)
HSLhsl(238, 45%, 51%)
HSVhsv(238, 60%, 73%)
CMYKcmyk(60.2%, 58.6%, 0%, 27.1%)
CIE-LABlab(38.39, 31.73, -58.10)
CIE-LCHlch(38.39, 66.20, 298.64°)
OKLaboklab(48.16% 0.02 -0.1669)
OKLCHoklch(48.16% 0.168 276.8)
XYZxyz(14.3380, 10.3077, 47.6789)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4DBA #BAB74A
analogous
#4A85BA #4A4DBA #7F4ABA
triadic
#4A4DBA #BA4A4D #4DBA4A
tetradic
#4A4DBA #BA4A85 #BAB74A #4ABA7F
square
#4A4DBA #BA4A85 #BAB74A #4ABA7F
split-complementary
#4A4DBA #BA7F4A #85BA4A
monochromatic
#262864 #373990 #4A4DBA #7679CB #A3A4DC

Accessibility & contrast

On white

6.86
#4A4DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4A4DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4DBA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4DBA#FFFFFF#000000##FFFFFF
##4A4DBA1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4a4dba;
/* rgb */ color: rgb(74, 77, 186);
/* oklch */ color: oklch(48.2% 0.168 276.8);
Tailwind
colors: {
  custom: {
    50: '#877fd0',
    500: '#4a4dba',
    950: '#000000',
  },
}
SCSS
$custom: #4a4dba;
$custom-light: #877fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4dba",
  "rgb": {
    "r": 74,
    "g": 77,
    "b": 186
  },
  "hsl": {
    "h": 238.393,
    "s": 44.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48161,
    "c": 0.16813,
    "h": 276.8
  },
  "luminance": 0.10309
}

Semantic roles & 50–950 ramp

primary
#4A4DBA
secondary
#C9C797
accent
#D153D5
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4A4DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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