#4A4ABF#4A4ABF

#4A4ABF is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.0% C 0.179 H 277.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#4A4ABF
RGBrgb(74, 74, 191)
HSLhsl(240, 48%, 52%)
HSVhsv(240, 61%, 75%)
CMYKcmyk(61.3%, 61.3%, 0%, 25.1%)
CIE-LABlab(38.05, 35.27, -61.59)
CIE-LCHlch(38.05, 70.97, 299.80°)
OKLaboklab(48.03% 0.0227 -0.1772)
OKLCHoklch(48.03% 0.179 277.3)
XYZxyz(14.6738, 10.1139, 50.4590)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4ABF #BFBF4A
analogous
#4A85BF #4A4ABF #854ABF
triadic
#4A4ABF #BF4A4A #4ABF4A
tetradic
#4A4ABF #BF4A85 #BFBF4A #4ABF85
square
#4A4ABF #BF4A85 #BFBF4A #4ABF85
split-complementary
#4A4ABF #BF854A #85BF4A
monochromatic
#252569 #353597 #4A4ABF #7777CF #A4A4DF

Accessibility & contrast

On white

6.95
#4A4ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#4A4ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4ABF
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4ABF#FFFFFF#000000##FFFFFF
##4A4ABF1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0055BD
Tritanopia (blue-blind)
#00677D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4a4abf;
/* rgb */ color: rgb(74, 74, 191);
/* oklch */ color: oklch(48.0% 0.179 277.3);
Tailwind
colors: {
  custom: {
    50: '#897dd3',
    500: '#4a4abf',
    950: '#000000',
  },
}
SCSS
$custom: #4a4abf;
$custom-light: #897dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4abf",
  "rgb": {
    "r": 74,
    "g": 74,
    "b": 191
  },
  "hsl": {
    "h": 240,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48029,
    "c": 0.17865,
    "h": 277.3
  },
  "luminance": 0.10115
}

Semantic roles & 50–950 ramp

primary
#4A4ABF
secondary
#CCCC99
accent
#D750D7
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0914
muted
#7D7B83

Preview Lab

Preview with #4A4ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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