#3943B9#3943B9

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

Color values

HEX#3943B9
RGBrgb(57, 67, 185)
HSLhsl(235, 53%, 47%)
HSVhsv(235, 69%, 73%)
CMYKcmyk(69.2%, 63.8%, 0%, 27.5%)
CIE-LABlab(34.77, 35.07, -63.45)
CIE-LCHlch(34.77, 72.50, 298.93°)
OKLaboklab(45.18% 0.009 -0.1832)
OKLCHoklch(45.18% 0.183 272.8)
XYZxyz(12.4485, 8.3858, 46.8521)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3943B9 #B9AF39
analogous
#3983B9 #3943B9 #6F39B9
triadic
#3943B9 #B93943 #43B939
tetradic
#3943B9 #B93983 #B9AF39 #39B96F
square
#3943B9 #B93983 #B9AF39 #39B96F
split-complementary
#3943B9 #B96F39 #83B939
monochromatic
#1C215B #2B328A #3943B9 #6169CE #9096DD

Accessibility & contrast

On white

7.84
#3943B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3943B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3943B9
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3943B9#FFFFFF#000000##FFFFFF
##3943B91.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#004CB7
Tritanopia (blue-blind)
#006178
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3943b9;
/* rgb */ color: rgb(57, 67, 185);
/* oklch */ color: oklch(45.2% 0.183 272.8);
Tailwind
colors: {
  custom: {
    50: '#8077cf',
    500: '#3943b9',
    950: '#000000',
  },
}
SCSS
$custom: #3943b9;
$custom-light: #8077cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3943b9",
  "rgb": {
    "r": 57,
    "g": 67,
    "b": 185
  },
  "hsl": {
    "h": 235.313,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45183,
    "c": 0.18338,
    "h": 272.8
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3943B9

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

Preview Lab → · Contrast checker → · Palette generator →

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