#3B38BB#3B38BB

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

Color values

HEX#3B38BB
RGBrgb(59, 56, 187)
HSLhsl(241, 54%, 48%)
HSVhsv(241, 70%, 73%)
CMYKcmyk(68.4%, 70.1%, 0%, 26.7%)
CIE-LABlab(32.58, 42.72, -68.22)
CIE-LCHlch(32.58, 80.49, 302.05°)
OKLaboklab(43.68% 0.0187 -0.1971)
OKLCHoklch(43.68% 0.198 275.4)
XYZxyz(12.1845, 7.3449, 47.7797)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B38BB #B8BB38
analogous
#3876BB #3B38BB #7C38BB
triadic
#3B38BB #BB3B38 #38BB3B
tetradic
#3B38BB #BB3876 #B8BB38 #38BB7C
square
#3B38BB #BB3876 #B8BB38 #38BB7C
split-complementary
#3B38BB #BB7C38 #76BB38
monochromatic
#1D1C5D #2C2A8C #3B38BB #6361D0 #9290DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B38BB#FFFFFF#000000##FFFFFF
##3B38BB1.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)
#0052BF
Deuteranopia (green-blind)
#0047B9
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3b38bb;
/* rgb */ color: rgb(59, 56, 187);
/* oklch */ color: oklch(43.7% 0.198 275.4);
Tailwind
colors: {
  custom: {
    50: '#8270d1',
    500: '#3b38bb',
    950: '#000000',
  },
}
SCSS
$custom: #3b38bb;
$custom-light: #8270d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3b38bb",
  "rgb": {
    "r": 59,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 241.374,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43679,
    "c": 0.198,
    "h": 275.4
  },
  "luminance": 0.07346
}

Semantic roles & 50–950 ramp

primary
#3B38BB
secondary
#C7C886
accent
#DD4BDA
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3B38BB

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

Preview Lab → · Contrast checker → · Palette generator →

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