#3942C9#3942C9

#3942C9 is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 46.5% C 0.205 H 272.3°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#3942C9
RGBrgb(57, 66, 201)
HSLhsl(236, 57%, 51%)
HSVhsv(236, 72%, 79%)
CMYKcmyk(71.6%, 67.2%, 0%, 21.2%)
CIE-LABlab(35.95, 41.23, -70.90)
CIE-LCHlch(35.95, 82.01, 300.18°)
OKLaboklab(46.47% 0.0084 -0.205)
OKLCHoklch(46.47% 0.205 272.3)
XYZxyz(14.1746, 8.9819, 56.2337)
Luminance0.0898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3942C9 #C9C039
analogous
#398AC9 #3942C9 #7839C9
triadic
#3942C9 #C93942 #42C939
tetradic
#3942C9 #C9398A #C9C039 #39C978
square
#3942C9 #C9398A #C9C039 #39C978
split-complementary
#3942C9 #C97839 #8AC939
monochromatic
#1D226B #2A319B #3942C9 #6970D6 #999EE3

Accessibility & contrast

On white

7.51
#3942C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#3942C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3942C9
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3942C9#FFFFFF#000000##FFFFFF
##3942C91.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCD
Deuteranopia (green-blind)
#004EC6
Tritanopia (blue-blind)
#006680
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3942c9;
/* rgb */ color: rgb(57, 66, 201);
/* oklch */ color: oklch(46.5% 0.205 272.3);
Tailwind
colors: {
  custom: {
    50: '#8477db',
    500: '#3942c9',
    950: '#000000',
  },
}
SCSS
$custom: #3942c9;
$custom-light: #8477db;
$custom-dark: #000000;
JSON
{
  "hex": "#3942c9",
  "rgb": {
    "r": 57,
    "g": 66,
    "b": 201
  },
  "hsl": {
    "h": 236.25,
    "s": 57.143,
    "l": 50.588
  },
  "oklch": {
    "l": 0.46473,
    "c": 0.20513,
    "h": 272.3
  },
  "luminance": 0.08983
}

Semantic roles & 50–950 ramp

primary
#3942C9
secondary
#CFCB8F
accent
#D747E0
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3942C9

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

Preview Lab → · Contrast checker → · Palette generator →

#3942C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva