#3943BA#3943BA

#3943BA is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.3% C 0.185 H 272.8°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#3943BA
RGBrgb(57, 67, 186)
HSLhsl(235, 53%, 48%)
HSVhsv(235, 69%, 73%)
CMYKcmyk(69.4%, 64%, 0%, 27.1%)
CIE-LABlab(34.86, 35.42, -63.90)
CIE-LCHlch(34.86, 73.06, 299.00°)
OKLaboklab(45.27% 0.009 -0.1845)
OKLCHoklch(45.27% 0.185 272.8)
XYZxyz(12.5545, 8.4281, 47.4100)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3943BA #BAB039
analogous
#3983BA #3943BA #7039BA
triadic
#3943BA #BA3943 #43BA39
tetradic
#3943BA #BA3983 #BAB039 #39BA70
square
#3943BA #BA3983 #BAB039 #39BA70
split-complementary
#3943BA #BA7039 #83BA39
monochromatic
#1C215C #2B328B #3943BA #616ACF #9096DD

Accessibility & contrast

On white

7.82
#3943BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3943BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3943BA
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3943BA#FFFFFF#000000##FFFFFF
##3943BA1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#006278
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3943ba;
/* rgb */ color: rgb(57, 67, 186);
/* oklch */ color: oklch(45.3% 0.185 272.8);
Tailwind
colors: {
  custom: {
    50: '#8077d0',
    500: '#3943ba',
    950: '#000000',
  },
}
SCSS
$custom: #3943ba;
$custom-light: #8077d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3943ba",
  "rgb": {
    "r": 57,
    "g": 67,
    "b": 186
  },
  "hsl": {
    "h": 235.349,
    "s": 53.086,
    "l": 47.647
  },
  "oklch": {
    "l": 0.45272,
    "c": 0.1847,
    "h": 272.8
  },
  "luminance": 0.08429
}

Semantic roles & 50–950 ramp

primary
#3943BA
secondary
#C8C387
accent
#D14BDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3943BA

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

Preview Lab → · Contrast checker → · Palette generator →

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