#3943BF#3943BF

#3943BF is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.7% C 0.191 H 272.6°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#3943BF
RGBrgb(57, 67, 191)
HSLhsl(236, 54%, 49%)
HSVhsv(236, 70%, 75%)
CMYKcmyk(70.2%, 64.9%, 0%, 25.1%)
CIE-LABlab(35.29, 37.16, -66.13)
CIE-LCHlch(35.29, 75.86, 299.33°)
OKLaboklab(45.72% 0.0086 -0.191)
OKLCHoklch(45.72% 0.191 272.6)
XYZxyz(13.0953, 8.6445, 50.2585)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3943BF #BFB539
analogous
#3986BF #3943BF #7239BF
triadic
#3943BF #BF3943 #43BF39
tetradic
#3943BF #BF3986 #BFB539 #39BF72
square
#3943BF #BF3986 #BFB539 #39BF72
split-complementary
#3943BF #BF7239 #86BF39
monochromatic
#1D2261 #2B3290 #3943BF #646CD1 #9399DF

Accessibility & contrast

On white

7.69
#3943BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3943BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3943BF
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3943BF#FFFFFF#000000##FFFFFF
##3943BF1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#004DBD
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3943bf;
/* rgb */ color: rgb(57, 67, 191);
/* oklch */ color: oklch(45.7% 0.191 272.6);
Tailwind
colors: {
  custom: {
    50: '#8177d3',
    500: '#3943bf',
    950: '#000000',
  },
}
SCSS
$custom: #3943bf;
$custom-light: #8177d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3943bf",
  "rgb": {
    "r": 57,
    "g": 67,
    "b": 191
  },
  "hsl": {
    "h": 235.522,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45721,
    "c": 0.19121,
    "h": 272.6
  },
  "luminance": 0.08646
}

Semantic roles & 50–950 ramp

primary
#3943BF
secondary
#CAC58A
accent
#D24ADD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3943BF

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

Preview Lab → · Contrast checker → · Palette generator →

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