#3943C5#3943C5

#3943C5 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.3% C 0.199 H 272.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#3943C5
RGBrgb(57, 67, 197)
HSLhsl(236, 55%, 50%)
HSVhsv(236, 71%, 77%)
CMYKcmyk(71.1%, 66%, 0%, 22.7%)
CIE-LABlab(35.82, 39.24, -68.78)
CIE-LCHlch(35.82, 79.19, 299.71°)
OKLaboklab(46.27% 0.0081 -0.1988)
OKLCHoklch(46.27% 0.199 272.3)
XYZxyz(13.7691, 8.9140, 53.8074)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3943C5 #C5BB39
analogous
#3989C5 #3943C5 #7539C5
triadic
#3943C5 #C53943 #43C539
tetradic
#3943C5 #C53989 #C5BB39 #39C575
square
#3943C5 #C53989 #C5BB39 #39C575
split-complementary
#3943C5 #C57539 #89C539
monochromatic
#1E2366 #2B3396 #3943C5 #6870D3 #979DE1

Accessibility & contrast

On white

7.55
#3943C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3943C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3943C5
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3943C5#FFFFFF#000000##FFFFFF
##3943C51.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC9
Deuteranopia (green-blind)
#004EC3
Tritanopia (blue-blind)
#00657E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3943c5;
/* rgb */ color: rgb(57, 67, 197);
/* oklch */ color: oklch(46.3% 0.199 272.3);
Tailwind
colors: {
  custom: {
    50: '#8377d8',
    500: '#3943c5',
    950: '#000000',
  },
}
SCSS
$custom: #3943c5;
$custom-light: #8377d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3943c5",
  "rgb": {
    "r": 57,
    "g": 67,
    "b": 197
  },
  "hsl": {
    "h": 235.714,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.46268,
    "c": 0.19894,
    "h": 272.3
  },
  "luminance": 0.08915
}

Semantic roles & 50–950 ramp

primary
#3943C5
secondary
#CDC88D
accent
#D449DE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3943C5

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

Preview Lab → · Contrast checker → · Palette generator →

#3943C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva