#3B38CA#3B38CA

#3B38CA is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.2% C 0.216 H 274.3°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#3B38CA
RGBrgb(59, 56, 202)
HSLhsl(241, 58%, 51%)
HSVhsv(241, 72%, 79%)
CMYKcmyk(70.8%, 72.3%, 0%, 20.8%)
CIE-LABlab(34.03, 47.64, -74.64)
CIE-LCHlch(34.03, 88.54, 302.55°)
OKLaboklab(45.15% 0.0163 -0.2158)
OKLCHoklch(45.15% 0.216 274.3)
XYZxyz(13.8749, 8.0211, 56.6827)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B38CA #C7CA38
analogous
#387ECA #3B38CA #8438CA
triadic
#3B38CA #CA3B38 #38CA3B
tetradic
#3B38CA #CA387E #C7CA38 #38CA84
square
#3B38CA #CA387E #C7CA38 #38CA84
split-complementary
#3B38CA #CA8438 #7ECA38
monochromatic
#1E1D6B #2C299B #3B38CA #6B68D7 #9A99E4

Accessibility & contrast

On white

8.06
#3B38CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3B38CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B38CA
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B38CA#FFFFFF#000000##FFFFFF
##3B38CA1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CE
Deuteranopia (green-blind)
#0049C7
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3b38ca;
/* rgb */ color: rgb(59, 56, 202);
/* oklch */ color: oklch(45.2% 0.216 274.3);
Tailwind
colors: {
  custom: {
    50: '#8570db',
    500: '#3b38ca',
    950: '#000000',
  },
}
SCSS
$custom: #3b38ca;
$custom-light: #8570db;
$custom-dark: #000000;
JSON
{
  "hex": "#3b38ca",
  "rgb": {
    "r": 59,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 241.233,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.45151,
    "c": 0.21644,
    "h": 274.3
  },
  "luminance": 0.08022
}

Semantic roles & 50–950 ramp

primary
#3B38CA
secondary
#CECF8E
accent
#E147DE
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3B38CA

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

Preview Lab → · Contrast checker → · Palette generator →

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