#3943B7#3943B7

#3943B7 is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.0% C 0.181 H 272.9°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#3943B7
RGBrgb(57, 67, 183)
HSLhsl(235, 53%, 47%)
HSVhsv(235, 69%, 72%)
CMYKcmyk(68.9%, 63.4%, 0%, 28.2%)
CIE-LABlab(34.60, 34.37, -62.55)
CIE-LCHlch(34.60, 71.37, 298.79°)
OKLaboklab(45.01% 0.0091 -0.1805)
OKLCHoklch(45.01% 0.181 272.9)
XYZxyz(12.2389, 8.3019, 45.7480)
Luminance0.0830 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3943B7 #B7AD39
analogous
#3982B7 #3943B7 #6E39B7
triadic
#3943B7 #B73943 #43B739
tetradic
#3943B7 #B73982 #B7AD39 #39B76E
square
#3943B7 #B73982 #B7AD39 #39B76E
split-complementary
#3943B7 #B76E39 #82B739
monochromatic
#1C215A #2A3288 #3943B7 #6068CD #8E95DC

Accessibility & contrast

On white

7.89
#3943B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3943B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3943B7
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3943B7#FFFFFF#000000##FFFFFF
##3943B71.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#004CB5
Tritanopia (blue-blind)
#006177
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3943b7;
/* rgb */ color: rgb(57, 67, 183);
/* oklch */ color: oklch(45.0% 0.181 272.9);
Tailwind
colors: {
  custom: {
    50: '#8077ce',
    500: '#3943b7',
    950: '#000000',
  },
}
SCSS
$custom: #3943b7;
$custom-light: #8077ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3943b7",
  "rgb": {
    "r": 57,
    "g": 67,
    "b": 183
  },
  "hsl": {
    "h": 235.238,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.45006,
    "c": 0.18074,
    "h": 272.9
  },
  "luminance": 0.08303
}

Semantic roles & 50–950 ramp

primary
#3943B7
secondary
#C7C185
accent
#D04CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3943B7

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

Preview Lab → · Contrast checker → · Palette generator →

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