#3A38BF#3A38BF

#3A38BF is a dark, highly saturated blue. Relative luminance 0.075; OKLCH L 44.0% C 0.203 H 274.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#3A38BF
RGBrgb(58, 56, 191)
HSLhsl(241, 55%, 48%)
HSVhsv(241, 71%, 75%)
CMYKcmyk(69.6%, 70.7%, 0%, 25.1%)
CIE-LABlab(32.89, 43.93, -70.07)
CIE-LCHlch(32.89, 82.70, 302.08°)
OKLaboklab(44% 0.0169 -0.2025)
OKLCHoklch(44% 0.203 274.8)
XYZxyz(12.5600, 7.4883, 50.0636)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A38BF #BDBF38
analogous
#3879BF #3A38BF #7D38BF
triadic
#3A38BF #BF3A38 #38BF3A
tetradic
#3A38BF #BF3879 #BDBF38 #38BF7D
square
#3A38BF #BF3879 #BDBF38 #38BF7D
split-complementary
#3A38BF #BF7D38 #79BF38
monochromatic
#1D1C60 #2C2A90 #3A38BF #6563D1 #9392DF

Accessibility & contrast

On white

8.41
#3A38BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3A38BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A38BF
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A38BF#FFFFFF#000000##FFFFFF
##3A38BF1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#0047BD
Tritanopia (blue-blind)
#005D77
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a38bf;
/* rgb */ color: rgb(58, 56, 191);
/* oklch */ color: oklch(44.0% 0.203 274.8);
Tailwind
colors: {
  custom: {
    50: '#8370d4',
    500: '#3a38bf',
    950: '#000000',
  },
}
SCSS
$custom: #3a38bf;
$custom-light: #8370d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3a38bf",
  "rgb": {
    "r": 58,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 240.889,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44002,
    "c": 0.20322,
    "h": 274.8
  },
  "luminance": 0.07489
}

Semantic roles & 50–950 ramp

primary
#3A38BF
secondary
#C9CA89
accent
#DE4ADC
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3A38BF

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

Preview Lab → · Contrast checker → · Palette generator →

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