#4A38CF#4A38CF

#4A38CF is a mid, highly saturated blue. Relative luminance 0.088; OKLCH L 46.7% C 0.219 H 279.0°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#4A38CF
RGBrgb(74, 56, 207)
HSLhsl(247, 61%, 52%)
HSVhsv(247, 73%, 81%)
CMYKcmyk(64.3%, 72.9%, 0%, 18.8%)
CIE-LABlab(35.57, 50.86, -74.96)
CIE-LCHlch(35.57, 90.58, 304.16°)
OKLaboklab(46.67% 0.0344 -0.2164)
OKLCHoklch(46.67% 0.219 279)
XYZxyz(15.4971, 8.7879, 59.8990)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A38CF #BDCF38
analogous
#3872CF #4A38CF #9638CF
triadic
#4A38CF #CF4A38 #38CF4A
tetradic
#4A38CF #CF3872 #BDCF38 #38CF96
square
#4A38CF #CF3872 #BDCF38 #38CF96
split-complementary
#4A38CF #CF9638 #72CF38
monochromatic
#261B71 #3627A3 #4A38CF #7769DB #A49BE7

Accessibility & contrast

On white

7.61
#4A38CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4A38CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A38CF
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A38CF#FFFFFF#000000##FFFFFF
##4A38CF1.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059D3
Deuteranopia (green-blind)
#004ECC
Tritanopia (blue-blind)
#006380
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4a38cf;
/* rgb */ color: rgb(74, 56, 207);
/* oklch */ color: oklch(46.7% 0.219 279.0);
Tailwind
colors: {
  custom: {
    50: '#8d71df',
    500: '#4a38cf',
    950: '#000000',
  },
}
SCSS
$custom: #4a38cf;
$custom-light: #8d71df;
$custom-dark: #000000;
JSON
{
  "hex": "#4a38cf",
  "rgb": {
    "r": 74,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 247.152,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.46668,
    "c": 0.2191,
    "h": 279
  },
  "luminance": 0.08789
}

Semantic roles & 50–950 ramp

primary
#4A38CF
secondary
#CBD390
accent
#E444D1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83

Preview Lab

Preview with #4A38CF

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

Preview Lab → · Contrast checker → · Palette generator →

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