#3B38D0#3B38D0

#3B38D0 is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.8% C 0.224 H 273.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#3B38D0
RGBrgb(59, 56, 208)
HSLhsl(241, 62%, 52%)
HSVhsv(241, 73%, 82%)
CMYKcmyk(71.6%, 73.1%, 0%, 18.4%)
CIE-LABlab(34.62, 49.58, -77.14)
CIE-LCHlch(34.62, 91.70, 302.73°)
OKLaboklab(45.75% 0.0153 -0.2231)
OKLCHoklch(45.75% 0.224 273.9)
XYZxyz(14.5992, 8.3108, 60.4970)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B38D0 #CDD038
analogous
#3881D0 #3B38D0 #8738D0
triadic
#3B38D0 #D03B38 #38D03B
tetradic
#3B38D0 #D03881 #CDD038 #38D087
square
#3B38D0 #D03881 #CDD038 #38D087
split-complementary
#3B38D0 #D08738 #81D038
monochromatic
#1D1B73 #2927A4 #3B38D0 #6C6ADC #9D9BE7

Accessibility & contrast

On white

7.89
#3B38D0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3B38D0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B38D0
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B38D0#FFFFFF#000000##FFFFFF
##3B38D01.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D4
Deuteranopia (green-blind)
#004ACD
Tritanopia (blue-blind)
#006481
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3b38d0;
/* rgb */ color: rgb(59, 56, 208);
/* oklch */ color: oklch(45.8% 0.224 273.9);
Tailwind
colors: {
  custom: {
    50: '#8771e0',
    500: '#3b38d0',
    950: '#000000',
  },
}
SCSS
$custom: #3b38d0;
$custom-light: #8771e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b38d0",
  "rgb": {
    "r": 59,
    "g": 56,
    "b": 208
  },
  "hsl": {
    "h": 241.184,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.45752,
    "c": 0.22365,
    "h": 273.9
  },
  "luminance": 0.08312
}

Semantic roles & 50–950 ramp

primary
#3B38D0
secondary
#D2D391
accent
#E543E2
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3B38D0

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

Preview Lab → · Contrast checker → · Palette generator →

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