#3A38C3#3A38C3

#3A38C3 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.4% C 0.208 H 274.5°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#3A38C3
RGBrgb(58, 56, 195)
HSLhsl(241, 55%, 49%)
HSVhsv(241, 71%, 76%)
CMYKcmyk(70.3%, 71.3%, 0%, 23.5%)
CIE-LABlab(33.28, 45.25, -71.78)
CIE-LCHlch(33.28, 84.85, 302.23°)
OKLaboklab(44.39% 0.0163 -0.2075)
OKLCHoklch(44.39% 0.208 274.5)
XYZxyz(13.0062, 7.6668, 52.4136)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A38C3 #C1C338
analogous
#387CC3 #3A38C3 #8038C3
triadic
#3A38C3 #C33A38 #38C33A
tetradic
#3A38C3 #C3387C #C1C338 #38C380
square
#3A38C3 #C3387C #C1C338 #38C380
split-complementary
#3A38C3 #C38038 #7CC338
monochromatic
#1E1D64 #2C2A93 #3A38C3 #6765D3 #9695E1

Accessibility & contrast

On white

8.29
#3A38C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3A38C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A38C3
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A38C3#FFFFFF#000000##FFFFFF
##3A38C31.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C7
Deuteranopia (green-blind)
#0048C0
Tritanopia (blue-blind)
#005F7A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a38c3;
/* rgb */ color: rgb(58, 56, 195);
/* oklch */ color: oklch(44.4% 0.208 274.5);
Tailwind
colors: {
  custom: {
    50: '#8470d6',
    500: '#3a38c3',
    950: '#000000',
  },
}
SCSS
$custom: #3a38c3;
$custom-light: #8470d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a38c3",
  "rgb": {
    "r": 58,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 240.863,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44394,
    "c": 0.20816,
    "h": 274.5
  },
  "luminance": 0.07668
}

Semantic roles & 50–950 ramp

primary
#3A38C3
secondary
#CBCC8B
accent
#DF49DD
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3A38C3

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

Preview Lab → · Contrast checker → · Palette generator →

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