#4A38C0#4A38C0

#4A38C0 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.2% C 0.201 H 280.7°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#4A38C0
RGBrgb(74, 56, 192)
HSLhsl(248, 55%, 49%)
HSVhsv(248, 71%, 75%)
CMYKcmyk(61.5%, 70.8%, 0%, 24.7%)
CIE-LABlab(34.17, 46.24, -68.52)
CIE-LCHlch(34.17, 82.66, 304.01°)
OKLaboklab(45.24% 0.0374 -0.1975)
OKLCHoklch(45.24% 0.201 280.7)
XYZxyz(13.7496, 8.0890, 50.6957)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A38C0 #AEC038
analogous
#386AC0 #4A38C0 #8E38C0
triadic
#4A38C0 #C04A38 #38C04A
tetradic
#4A38C0 #C0386A #AEC038 #38C08E
square
#4A38C0 #C0386A #AEC038 #38C08E
split-complementary
#4A38C0 #C08E38 #6AC038
monochromatic
#251C61 #382A91 #4A38C0 #7264D2 #9D93DF

Accessibility & contrast

On white

8.02
#4A38C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#4A38C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A38C0
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A38C0#FFFFFF#000000##FFFFFF
##4A38C01.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C4
Deuteranopia (green-blind)
#004BBD
Tritanopia (blue-blind)
#005D78
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4a38c0;
/* rgb */ color: rgb(74, 56, 192);
/* oklch */ color: oklch(45.2% 0.201 280.7);
Tailwind
colors: {
  custom: {
    50: '#8a71d4',
    500: '#4a38c0',
    950: '#000000',
  },
}
SCSS
$custom: #4a38c0;
$custom-light: #8a71d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a38c0",
  "rgb": {
    "r": 74,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 247.941,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45244,
    "c": 0.20105,
    "h": 280.7
  },
  "luminance": 0.0809
}

Semantic roles & 50–950 ramp

primary
#4A38C0
secondary
#C2CB89
accent
#DE4ACB
background
#F9F6FD
surface
#F1ECFA
border
#CBC7D3
text
#0D0814
muted
#7E7B83

Preview Lab

Preview with #4A38C0

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

Preview Lab → · Contrast checker → · Palette generator →

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