#3A38BE#3A38BE

#3A38BE is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 43.9% C 0.202 H 274.8°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#3A38BE
RGBrgb(58, 56, 190)
HSLhsl(241, 54%, 48%)
HSVhsv(241, 71%, 75%)
CMYKcmyk(69.5%, 70.5%, 0%, 25.5%)
CIE-LABlab(32.80, 43.60, -69.64)
CIE-LCHlch(32.80, 82.16, 302.05°)
OKLaboklab(43.91% 0.017 -0.2013)
OKLCHoklch(43.91% 0.202 274.8)
XYZxyz(12.4503, 7.4444, 49.4860)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A38BE #BCBE38
analogous
#3879BE #3A38BE #7D38BE
triadic
#3A38BE #BE3A38 #38BE3A
tetradic
#3A38BE #BE3879 #BCBE38 #38BE7D
square
#3A38BE #BE3879 #BCBE38 #38BE7D
split-complementary
#3A38BE #BE7D38 #79BE38
monochromatic
#1D1C5F #2C2A8F #3A38BE #6462D1 #9392DF

Accessibility & contrast

On white

8.44
#3A38BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3A38BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A38BE
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A38BE#FFFFFF#000000##FFFFFF
##3A38BE1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C2
Deuteranopia (green-blind)
#0047BC
Tritanopia (blue-blind)
#005D77
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a38be;
/* rgb */ color: rgb(58, 56, 190);
/* oklch */ color: oklch(43.9% 0.202 274.8);
Tailwind
colors: {
  custom: {
    50: '#8270d3',
    500: '#3a38be',
    950: '#000000',
  },
}
SCSS
$custom: #3a38be;
$custom-light: #8270d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a38be",
  "rgb": {
    "r": 58,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 240.896,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43905,
    "c": 0.20198,
    "h": 274.8
  },
  "luminance": 0.07446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A38BE

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

Preview Lab → · Contrast checker → · Palette generator →

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