#4A4CBB#4A4CBB

#4A4CBB is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.1% C 0.171 H 277.1°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#4A4CBB
RGBrgb(74, 76, 187)
HSLhsl(239, 45%, 51%)
HSVhsv(239, 60%, 73%)
CMYKcmyk(60.4%, 59.4%, 0%, 26.7%)
CIE-LABlab(38.22, 32.69, -58.96)
CIE-LCHlch(38.22, 67.42, 299.01°)
OKLaboklab(48.06% 0.021 -0.1695)
OKLCHoklch(48.06% 0.171 277.1)
XYZxyz(14.3752, 10.2115, 48.2176)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4CBB #BBB94A
analogous
#4A84BB #4A4CBB #804ABB
triadic
#4A4CBB #BB4A4C #4CBB4A
tetradic
#4A4CBB #BB4A84 #BBB94A #4ABB80
square
#4A4CBB #BB4A84 #BBB94A #4ABB80
split-complementary
#4A4CBB #BB804A #84BB4A
monochromatic
#262765 #373891 #4A4CBB #7678CC #A3A4DC

Accessibility & contrast

On white

6.90
#4A4CBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4A4CBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4CBB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4CBB#FFFFFF#000000##FFFFFF
##4A4CBB1.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4a4cbb;
/* rgb */ color: rgb(74, 76, 187);
/* oklch */ color: oklch(48.1% 0.171 277.1);
Tailwind
colors: {
  custom: {
    50: '#887ed0',
    500: '#4a4cbb',
    950: '#000000',
  },
}
SCSS
$custom: #4a4cbb;
$custom-light: #887ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4cbb",
  "rgb": {
    "r": 74,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 238.938,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4806,
    "c": 0.17076,
    "h": 277.1
  },
  "luminance": 0.10213
}

Semantic roles & 50–950 ramp

primary
#4A4CBB
secondary
#C9C897
accent
#D353D5
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4A4CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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