#3B38CD#3B38CD

#3B38CD is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.5% C 0.220 H 274.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#3B38CD
RGBrgb(59, 56, 205)
HSLhsl(241, 60%, 51%)
HSVhsv(241, 73%, 80%)
CMYKcmyk(71.2%, 72.7%, 0%, 19.6%)
CIE-LABlab(34.32, 48.61, -75.89)
CIE-LCHlch(34.32, 90.13, 302.64°)
OKLaboklab(45.45% 0.0158 -0.2195)
OKLCHoklch(45.45% 0.22 274.1)
XYZxyz(14.2336, 8.1645, 58.5716)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B38CD #CACD38
analogous
#387FCD #3B38CD #8538CD
triadic
#3B38CD #CD3B38 #38CD3B
tetradic
#3B38CD #CD387F #CACD38 #38CD85
square
#3B38CD #CD387F #CACD38 #38CD85
split-complementary
#3B38CD #CD8538 #7FCD38
monochromatic
#1E1C6F #2B28A0 #3B38CD #6B69D9 #9B9AE6

Accessibility & contrast

On white

7.98
#3B38CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3B38CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B38CD
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B38CD#FFFFFF#000000##FFFFFF
##3B38CD1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D1
Deuteranopia (green-blind)
#004ACA
Tritanopia (blue-blind)
#00637F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3b38cd;
/* rgb */ color: rgb(59, 56, 205);
/* oklch */ color: oklch(45.5% 0.220 274.1);
Tailwind
colors: {
  custom: {
    50: '#8670de',
    500: '#3b38cd',
    950: '#000000',
  },
}
SCSS
$custom: #3b38cd;
$custom-light: #8670de;
$custom-dark: #000000;
JSON
{
  "hex": "#3b38cd",
  "rgb": {
    "r": 59,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 241.208,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4545,
    "c": 0.22006,
    "h": 274.1
  },
  "luminance": 0.08166
}

Semantic roles & 50–950 ramp

primary
#3B38CD
secondary
#D0D18F
accent
#E345E0
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3B38CD

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

Preview Lab → · Contrast checker → · Palette generator →

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