#4A38AF#4A38AF

#4A38AF is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.7% C 0.180 H 282.9°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#4A38AF
RGBrgb(74, 56, 175)
HSLhsl(249, 52%, 45%)
HSVhsv(249, 68%, 69%)
CMYKcmyk(57.7%, 68%, 0%, 31.4%)
CIE-LABlab(32.65, 40.94, -60.94)
CIE-LCHlch(32.65, 73.41, 303.89°)
OKLaboklab(43.7% 0.0402 -0.1753)
OKLCHoklch(43.7% 0.18 282.9)
XYZxyz(11.9737, 7.3786, 41.3424)
Luminance0.0738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A38AF #9DAF38
analogous
#3861AF #4A38AF #8638AF
triadic
#4A38AF #AF4A38 #38AF4A
tetradic
#4A38AF #AF3861 #9DAF38 #38AF86
square
#4A38AF #AF3861 #9DAF38 #38AF86
split-complementary
#4A38AF #AF8638 #61AF38
monochromatic
#231A52 #362981 #4A38AF #6B5ACA #9588D9

Accessibility & contrast

On white

8.48
#4A38AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#4A38AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A38AF
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A38AF#FFFFFF#000000##FFFFFF
##4A38AF1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#13576F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a38af;
/* rgb */ color: rgb(74, 56, 175);
/* oklch */ color: oklch(43.7% 0.180 282.9);
Tailwind
colors: {
  custom: {
    50: '#8770c8',
    500: '#4a38af',
    950: '#000000',
  },
}
SCSS
$custom: #4a38af;
$custom-light: #8770c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a38af",
  "rgb": {
    "r": 74,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 249.076,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43695,
    "c": 0.1799,
    "h": 282.9
  },
  "luminance": 0.07379
}

Semantic roles & 50–950 ramp

primary
#4A38AF
secondary
#B9C380
accent
#DB4DC5
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4A38AF

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

Preview Lab → · Contrast checker → · Palette generator →

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