#3E38CC#3E38CC

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

Color values

HEX#3E38CC
RGBrgb(62, 56, 204)
HSLhsl(242, 59%, 51%)
HSVhsv(242, 73%, 80%)
CMYKcmyk(69.6%, 72.5%, 0%, 20%)
CIE-LABlab(34.42, 48.59, -75.15)
CIE-LCHlch(34.42, 89.49, 302.89°)
OKLaboklab(45.54% 0.0196 -0.2172)
OKLCHoklch(45.54% 0.218 275.2)
XYZxyz(14.2963, 8.2108, 57.9465)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E38CC #C6CC38
analogous
#387CCC #3E38CC #8838CC
triadic
#3E38CC #CC3E38 #38CC3E
tetradic
#3E38CC #CC387C #C6CC38 #38CC88
square
#3E38CC #CC387C #C6CC38 #38CC88
split-complementary
#3E38CC #CC8838 #7CCC38
monochromatic
#1F1C6E #2D299E #3E38CC #6D69D8 #9C99E5

Accessibility & contrast

On white

7.95
#3E38CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3E38CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E38CC
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E38CC#FFFFFF#000000##FFFFFF
##3E38CC1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058D0
Deuteranopia (green-blind)
#004AC9
Tritanopia (blue-blind)
#00627F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3e38cc;
/* rgb */ color: rgb(62, 56, 204);
/* oklch */ color: oklch(45.5% 0.218 275.2);
Tailwind
colors: {
  custom: {
    50: '#8770dd',
    500: '#3e38cc',
    950: '#000000',
  },
}
SCSS
$custom: #3e38cc;
$custom-light: #8770dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3e38cc",
  "rgb": {
    "r": 62,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 242.432,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.45539,
    "c": 0.21813,
    "h": 275.2
  },
  "luminance": 0.08212
}

Semantic roles & 50–950 ramp

primary
#3E38CC
secondary
#CED18F
accent
#E245DC
background
#F9F6FD
surface
#F1ECFB
border
#CBC7D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3E38CC

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

Preview Lab → · Contrast checker → · Palette generator →

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