#3B38CC#3B38CC

#3B38CC is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.4% C 0.219 H 274.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#3B38CC
RGBrgb(59, 56, 204)
HSLhsl(241, 59%, 51%)
HSVhsv(241, 73%, 80%)
CMYKcmyk(71.1%, 72.5%, 0%, 20%)
CIE-LABlab(34.22, 48.29, -75.47)
CIE-LCHlch(34.22, 89.60, 302.61°)
OKLaboklab(45.35% 0.016 -0.2183)
OKLCHoklch(45.35% 0.219 274.2)
XYZxyz(14.1133, 8.1164, 57.9379)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B38CC #C9CC38
analogous
#387FCC #3B38CC #8538CC
triadic
#3B38CC #CC3B38 #38CC3B
tetradic
#3B38CC #CC387F #C9CC38 #38CC85
square
#3B38CC #CC387F #C9CC38 #38CC85
split-complementary
#3B38CC #CC8538 #7FCC38
monochromatic
#1E1C6E #2B299E #3B38CC #6B69D8 #9B99E5

Accessibility & contrast

On white

8.00
#3B38CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3B38CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B38CC
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B38CC#FFFFFF#000000##FFFFFF
##3B38CC1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D0
Deuteranopia (green-blind)
#0049C9
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3b38cc;
/* rgb */ color: rgb(59, 56, 204);
/* oklch */ color: oklch(45.4% 0.219 274.2);
Tailwind
colors: {
  custom: {
    50: '#8670dd',
    500: '#3b38cc',
    950: '#000000',
  },
}
SCSS
$custom: #3b38cc;
$custom-light: #8670dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3b38cc",
  "rgb": {
    "r": 59,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 241.216,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4535,
    "c": 0.21885,
    "h": 274.2
  },
  "luminance": 0.08118
}

Semantic roles & 50–950 ramp

primary
#3B38CC
secondary
#CFD18F
accent
#E245DF
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3B38CC

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

Preview Lab → · Contrast checker → · Palette generator →

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