#3B38CF#3B38CF

#3B38CF is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.7% C 0.222 H 274.0°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#3B38CF
RGBrgb(59, 56, 207)
HSLhsl(241, 61%, 52%)
HSVhsv(241, 73%, 81%)
CMYKcmyk(71.5%, 72.9%, 0%, 18.8%)
CIE-LABlab(34.52, 49.25, -76.73)
CIE-LCHlch(34.52, 91.17, 302.70°)
OKLaboklab(45.65% 0.0154 -0.2219)
OKLCHoklch(45.65% 0.222 274)
XYZxyz(14.4765, 8.2617, 59.8511)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B38CF #CCCF38
analogous
#3881CF #3B38CF #8738CF
triadic
#3B38CF #CF3B38 #38CF3B
tetradic
#3B38CF #CF3881 #CCCF38 #38CF87
square
#3B38CF #CF3881 #CCCF38 #38CF87
split-complementary
#3B38CF #CF8738 #81CF38
monochromatic
#1D1B71 #2A27A3 #3B38CF #6C69DB #9C9BE7

Accessibility & contrast

On white

7.92
#3B38CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3B38CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B38CF
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B38CF#FFFFFF#000000##FFFFFF
##3B38CF1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D3
Deuteranopia (green-blind)
#004ACC
Tritanopia (blue-blind)
#006380
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3b38cf;
/* rgb */ color: rgb(59, 56, 207);
/* oklch */ color: oklch(45.7% 0.222 274.0);
Tailwind
colors: {
  custom: {
    50: '#8770df',
    500: '#3b38cf',
    950: '#000000',
  },
}
SCSS
$custom: #3b38cf;
$custom-light: #8770df;
$custom-dark: #000000;
JSON
{
  "hex": "#3b38cf",
  "rgb": {
    "r": 59,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 241.192,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.45651,
    "c": 0.22246,
    "h": 274
  },
  "luminance": 0.08263
}

Semantic roles & 50–950 ramp

primary
#3B38CF
secondary
#D1D390
accent
#E444E1
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3B38CF

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

Preview Lab → · Contrast checker → · Palette generator →

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