#3E38CA#3E38CA

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

Color values

HEX#3E38CA
RGBrgb(62, 56, 202)
HSLhsl(242, 58%, 51%)
HSVhsv(242, 72%, 79%)
CMYKcmyk(69.3%, 72.3%, 0%, 20.8%)
CIE-LABlab(34.22, 47.95, -74.31)
CIE-LCHlch(34.22, 88.43, 302.83°)
OKLaboklab(45.34% 0.0199 -0.2148)
OKLCHoklch(45.34% 0.216 275.3)
XYZxyz(14.0579, 8.1154, 56.6912)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E38CA #C4CA38
analogous
#387BCA #3E38CA #8738CA
triadic
#3E38CA #CA3E38 #38CA3E
tetradic
#3E38CA #CA387B #C4CA38 #38CA87
square
#3E38CA #CA387B #C4CA38 #38CA87
split-complementary
#3E38CA #CA8738 #7BCA38
monochromatic
#201D6B #2E299B #3E38CA #6D68D7 #9C99E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E38CA#FFFFFF#000000##FFFFFF
##3E38CA1.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)
#0057CE
Deuteranopia (green-blind)
#004AC7
Tritanopia (blue-blind)
#00617E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3e38ca;
/* rgb */ color: rgb(62, 56, 202);
/* oklch */ color: oklch(45.3% 0.216 275.3);
Tailwind
colors: {
  custom: {
    50: '#8770db',
    500: '#3e38ca',
    950: '#000000',
  },
}
SCSS
$custom: #3e38ca;
$custom-light: #8770db;
$custom-dark: #000000;
JSON
{
  "hex": "#3e38ca",
  "rgb": {
    "r": 62,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 242.466,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.45341,
    "c": 0.21572,
    "h": 275.3
  },
  "luminance": 0.08117
}

Semantic roles & 50–950 ramp

primary
#3E38CA
secondary
#CDCF8E
accent
#E147DB
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3E38CA

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

Preview Lab → · Contrast checker → · Palette generator →

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