#3A38BC#3A38BC

#3A38BC is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.7% C 0.200 H 275.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#3A38BC
RGBrgb(58, 56, 188)
HSLhsl(241, 54%, 48%)
HSVhsv(241, 70%, 74%)
CMYKcmyk(69.1%, 70.2%, 0%, 26.3%)
CIE-LABlab(32.61, 42.93, -68.77)
CIE-LCHlch(32.61, 81.07, 301.98°)
OKLaboklab(43.71% 0.0173 -0.1987)
OKLCHoklch(43.71% 0.2 275)
XYZxyz(12.2332, 7.3576, 48.3427)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A38BC #BABC38
analogous
#3878BC #3A38BC #7C38BC
triadic
#3A38BC #BC3A38 #38BC3A
tetradic
#3A38BC #BC3878 #BABC38 #38BC7C
square
#3A38BC #BC3878 #BABC38 #38BC7C
split-complementary
#3A38BC #BC7C38 #78BC38
monochromatic
#1D1C5E #2B2A8D #3A38BC #6361D0 #9290DE

Accessibility & contrast

On white

8.50
#3A38BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3A38BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A38BC
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A38BC#FFFFFF#000000##FFFFFF
##3A38BC1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#0047BA
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a38bc;
/* rgb */ color: rgb(58, 56, 188);
/* oklch */ color: oklch(43.7% 0.200 275.0);
Tailwind
colors: {
  custom: {
    50: '#8270d1',
    500: '#3a38bc',
    950: '#000000',
  },
}
SCSS
$custom: #3a38bc;
$custom-light: #8270d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a38bc",
  "rgb": {
    "r": 58,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 240.909,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.4371,
    "c": 0.1995,
    "h": 275
  },
  "luminance": 0.07359
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A38BC

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

Preview Lab → · Contrast checker → · Palette generator →

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