#4A4ACA#4A4ACA

#4A4ACA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.9% C 0.193 H 276.6°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#4A4ACA
RGBrgb(74, 74, 202)
HSLhsl(240, 55%, 54%)
HSVhsv(240, 63%, 79%)
CMYKcmyk(63.4%, 63.4%, 0%, 20.8%)
CIE-LABlab(38.93, 38.92, -66.56)
CIE-LCHlch(38.93, 77.10, 300.32°)
OKLaboklab(48.95% 0.0221 -0.1918)
OKLCHoklch(48.95% 0.193 276.6)
XYZxyz(15.9300, 10.6164, 57.0754)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4ACA #CACA4A
analogous
#4A8ACA #4A4ACA #8A4ACA
triadic
#4A4ACA #CA4A4A #4ACA4A
tetradic
#4A4ACA #CA4A8A #CACA4A #4ACA8A
square
#4A4ACA #CA4A8A #CACA4A #4ACA8A
split-complementary
#4A4ACA #CA8A4A #8ACA4A
monochromatic
#232377 #3131A6 #4A4ACA #7979D8 #A9A9E6

Accessibility & contrast

On white

6.72
#4A4ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4A4ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4ACA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4ACA#FFFFFF#000000##FFFFFF
##4A4ACA1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0056C8
Tritanopia (blue-blind)
#006A83
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4a4aca;
/* rgb */ color: rgb(74, 74, 202);
/* oklch */ color: oklch(48.9% 0.193 276.6);
Tailwind
colors: {
  custom: {
    50: '#8b7ddb',
    500: '#4a4aca',
    950: '#000000',
  },
}
SCSS
$custom: #4a4aca;
$custom-light: #8b7ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4aca",
  "rgb": {
    "r": 74,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 240,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48949,
    "c": 0.19306,
    "h": 276.6
  },
  "luminance": 0.10618
}

Semantic roles & 50–950 ramp

primary
#4A4ACA
secondary
#D3D39D
accent
#DE4ADE
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4A4ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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