#4A38AA#4A38AA

#4A38AA is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.3% C 0.174 H 283.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#4A38AA
RGBrgb(74, 56, 170)
HSLhsl(249, 50%, 44%)
HSVhsv(249, 67%, 67%)
CMYKcmyk(56.5%, 67.1%, 0%, 33.3%)
CIE-LABlab(32.23, 39.37, -58.65)
CIE-LCHlch(32.23, 70.64, 303.87°)
OKLaboklab(43.25% 0.0409 -0.1686)
OKLCHoklch(43.25% 0.174 283.6)
XYZxyz(11.4917, 7.1858, 38.8039)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A38AA #98AA38
analogous
#385FAA #4A38AA #8338AA
triadic
#4A38AA #AA4A38 #38AA4A
tetradic
#4A38AA #AA385F #98AA38 #38AA83
square
#4A38AA #AA385F #98AA38 #38AA83
split-complementary
#4A38AA #AA8338 #5FAA38
monochromatic
#221A4E #36297C #4A38AA #6957C8 #9285D7

Accessibility & contrast

On white

8.62
#4A38AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4A38AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A38AA
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A38AA#FFFFFF#000000##FFFFFF
##4A38AA1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#1B556C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a38aa;
/* rgb */ color: rgb(74, 56, 170);
/* oklch */ color: oklch(43.3% 0.174 283.6);
Tailwind
colors: {
  custom: {
    50: '#8670c4',
    500: '#4a38aa',
    950: '#000000',
  },
}
SCSS
$custom: #4a38aa;
$custom-light: #8670c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a38aa",
  "rgb": {
    "r": 74,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 249.474,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43254,
    "c": 0.17352,
    "h": 283.6
  },
  "luminance": 0.07186
}

Semantic roles & 50–950 ramp

primary
#4A38AA
secondary
#B6C17D
accent
#DA4EC4
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4A38AA

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

Preview Lab → · Contrast checker → · Palette generator →

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