#4B38AF#4B38AF

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

Color values

HEX#4B38AF
RGBrgb(75, 56, 175)
HSLhsl(250, 52%, 45%)
HSVhsv(250, 68%, 69%)
CMYKcmyk(57.1%, 68%, 0%, 31.4%)
CIE-LABlab(32.74, 41.10, -60.79)
CIE-LCHlch(32.74, 73.38, 304.06°)
OKLaboklab(43.78% 0.0416 -0.1749)
OKLCHoklch(43.78% 0.18 283.4)
XYZxyz(12.0513, 7.4186, 41.3460)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4B38AF #9CAF38
analogous
#3860AF #4B38AF #8638AF
triadic
#4B38AF #AF4B38 #38AF4B
tetradic
#4B38AF #AF3860 #9CAF38 #38AF86
square
#4B38AF #AF3860 #9CAF38 #38AF86
split-complementary
#4B38AF #AF8638 #60AF38
monochromatic
#231A52 #372981 #4B38AF #6C5ACA #9588D9

Accessibility & contrast

On white

8.45
#4B38AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4B38AF
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4B38AF#FFFFFF#000000##FFFFFF
##4B38AF1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4b38af;
/* rgb */ color: rgb(75, 56, 175);
/* oklch */ color: oklch(43.8% 0.180 283.4);
Tailwind
colors: {
  custom: {
    50: '#8870c8',
    500: '#4b38af',
    950: '#000000',
  },
}
SCSS
$custom: #4b38af;
$custom-light: #8870c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4b38af",
  "rgb": {
    "r": 75,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 249.58,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4378,
    "c": 0.17976,
    "h": 283.4
  },
  "luminance": 0.07419
}

Semantic roles & 50–950 ramp

primary
#4B38AF
secondary
#B8C380
accent
#DB4DC4
background
#F8F6FC
surface
#F0ECF8
border
#CBC7D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #4B38AF

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

Preview Lab → · Contrast checker → · Palette generator →

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