#3A38BD#3A38BD

#3A38BD is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 43.8% C 0.201 H 274.9°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#3A38BD
RGBrgb(58, 56, 189)
HSLhsl(241, 54%, 48%)
HSVhsv(241, 70%, 74%)
CMYKcmyk(69.3%, 70.4%, 0%, 25.9%)
CIE-LABlab(32.70, 43.26, -69.20)
CIE-LCHlch(32.70, 81.61, 302.01°)
OKLaboklab(43.81% 0.0172 -0.2)
OKLCHoklch(43.81% 0.201 274.9)
XYZxyz(12.3414, 7.4009, 48.9124)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A38BD #BBBD38
analogous
#3879BD #3A38BD #7C38BD
triadic
#3A38BD #BD3A38 #38BD3A
tetradic
#3A38BD #BD3879 #BBBD38 #38BD7C
square
#3A38BD #BD3879 #BBBD38 #38BD7C
split-complementary
#3A38BD #BD7C38 #79BD38
monochromatic
#1D1C5F #2C2A8E #3A38BD #6362D0 #9291DE

Accessibility & contrast

On white

8.47
#3A38BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3A38BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A38BD
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A38BD#FFFFFF#000000##FFFFFF
##3A38BD1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C1
Deuteranopia (green-blind)
#0047BB
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a38bd;
/* rgb */ color: rgb(58, 56, 189);
/* oklch */ color: oklch(43.8% 0.201 274.9);
Tailwind
colors: {
  custom: {
    50: '#8270d2',
    500: '#3a38bd',
    950: '#000000',
  },
}
SCSS
$custom: #3a38bd;
$custom-light: #8270d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a38bd",
  "rgb": {
    "r": 58,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 240.902,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43807,
    "c": 0.20074,
    "h": 274.9
  },
  "luminance": 0.07402
}

Semantic roles & 50–950 ramp

primary
#3A38BD
secondary
#C8C987
accent
#DE4ADB
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3A38BD

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

Preview Lab → · Contrast checker → · Palette generator →

#3A38BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva