#4A4ABB#4A4ABB

#4A4ABB is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.7% C 0.173 H 277.6°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#4A4ABB
RGBrgb(74, 74, 187)
HSLhsl(240, 45%, 51%)
HSVhsv(240, 60%, 73%)
CMYKcmyk(60.4%, 60.4%, 0%, 26.7%)
CIE-LABlab(37.73, 33.94, -59.75)
CIE-LCHlch(37.73, 68.72, 299.60°)
OKLaboklab(47.7% 0.0229 -0.1718)
OKLCHoklch(47.7% 0.173 277.6)
XYZxyz(14.2396, 9.9402, 48.1723)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4ABB #BBBB4A
analogous
#4A82BB #4A4ABB #824ABB
triadic
#4A4ABB #BB4A4A #4ABB4A
tetradic
#4A4ABB #BB4A82 #BBBB4A #4ABB82
square
#4A4ABB #BB4A82 #BBBB4A #4ABB82
split-complementary
#4A4ABB #BB824A #82BB4A
monochromatic
#262665 #373791 #4A4ABB #7676CC #A3A3DC

Accessibility & contrast

On white

7.03
#4A4ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#4A4ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4ABB
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4ABB#FFFFFF#000000##FFFFFF
##4A4ABB1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4a4abb;
/* rgb */ color: rgb(74, 74, 187);
/* oklch */ color: oklch(47.7% 0.173 277.6);
Tailwind
colors: {
  custom: {
    50: '#887cd0',
    500: '#4a4abb',
    950: '#000000',
  },
}
SCSS
$custom: #4a4abb;
$custom-light: #887cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4abb",
  "rgb": {
    "r": 74,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 240,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47702,
    "c": 0.17331,
    "h": 277.6
  },
  "luminance": 0.09941
}

Semantic roles & 50–950 ramp

primary
#4A4ABB
secondary
#C9C997
accent
#D553D5
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4A4ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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