#4A4ABC#4A4ABC

#4A4ABC is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.8% C 0.175 H 277.5°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#4A4ABC
RGBrgb(74, 74, 188)
HSLhsl(240, 46%, 51%)
HSVhsv(240, 61%, 74%)
CMYKcmyk(60.6%, 60.6%, 0%, 26.3%)
CIE-LABlab(37.81, 34.27, -60.21)
CIE-LCHlch(37.81, 69.28, 299.65°)
OKLaboklab(47.78% 0.0228 -0.1732)
OKLCHoklch(47.78% 0.175 277.5)
XYZxyz(14.3470, 9.9832, 48.7381)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4ABC #BCBC4A
analogous
#4A83BC #4A4ABC #834ABC
triadic
#4A4ABC #BC4A4A #4ABC4A
tetradic
#4A4ABC #BC4A83 #BCBC4A #4ABC83
square
#4A4ABC #BC4A83 #BCBC4A #4ABC83
split-complementary
#4A4ABC #BC834A #83BC4A
monochromatic
#262666 #363693 #4A4ABC #7777CD #A3A3DD

Accessibility & contrast

On white

7.01
#4A4ABC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#4A4ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4ABC
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4ABC#FFFFFF#000000##FFFFFF
##4A4ABC1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#00667C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4a4abc;
/* rgb */ color: rgb(74, 74, 188);
/* oklch */ color: oklch(47.8% 0.175 277.5);
Tailwind
colors: {
  custom: {
    50: '#887dd1',
    500: '#4a4abc',
    950: '#000000',
  },
}
SCSS
$custom: #4a4abc;
$custom-light: #887dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4abc",
  "rgb": {
    "r": 74,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 240,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.47783,
    "c": 0.17466,
    "h": 277.5
  },
  "luminance": 0.09984
}

Semantic roles & 50–950 ramp

primary
#4A4ABC
secondary
#CACA98
accent
#D652D6
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4A4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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