#4A38C8#4A38C8

#4A38C8 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 46.0% C 0.211 H 279.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#4A38C8
RGBrgb(74, 56, 200)
HSLhsl(248, 57%, 50%)
HSVhsv(248, 72%, 78%)
CMYKcmyk(63%, 72%, 0%, 21.6%)
CIE-LABlab(34.91, 48.71, -71.98)
CIE-LCHlch(34.91, 86.91, 304.09°)
OKLaboklab(46% 0.0358 -0.2077)
OKLCHoklch(46% 0.211 279.8)
XYZxyz(14.6602, 8.4532, 55.4915)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A38C8 #B6C838
analogous
#386EC8 #4A38C8 #9238C8
triadic
#4A38C8 #C84A38 #38C84A
tetradic
#4A38C8 #C8386E #B6C838 #38C892
square
#4A38C8 #C8386E #B6C838 #38C892
split-complementary
#4A38C8 #C89238 #6EC838
monochromatic
#261D69 #382A99 #4A38C8 #7668D5 #A198E3

Accessibility & contrast

On white

7.80
#4A38C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#4A38C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A38C8
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A38C8#FFFFFF#000000##FFFFFF
##4A38C81.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CC
Deuteranopia (green-blind)
#004CC5
Tritanopia (blue-blind)
#00607C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4a38c8;
/* rgb */ color: rgb(74, 56, 200);
/* oklch */ color: oklch(46.0% 0.211 279.8);
Tailwind
colors: {
  custom: {
    50: '#8c71da',
    500: '#4a38c8',
    950: '#000000',
  },
}
SCSS
$custom: #4a38c8;
$custom-light: #8c71da;
$custom-dark: #000000;
JSON
{
  "hex": "#4a38c8",
  "rgb": {
    "r": 74,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 247.5,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45997,
    "c": 0.21075,
    "h": 279.8
  },
  "luminance": 0.08454
}

Semantic roles & 50–950 ramp

primary
#4A38C8
secondary
#C6CE8E
accent
#E048CD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #4A38C8

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

Preview Lab → · Contrast checker → · Palette generator →

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