#3943B5#3943B5

#3943B5 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.8% C 0.178 H 273.0°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#3943B5
RGBrgb(57, 67, 181)
HSLhsl(235, 52%, 47%)
HSVhsv(235, 69%, 71%)
CMYKcmyk(68.5%, 63%, 0%, 29%)
CIE-LABlab(34.44, 33.66, -61.64)
CIE-LCHlch(34.44, 70.23, 298.64°)
OKLaboklab(44.83% 0.0092 -0.1778)
OKLCHoklch(44.83% 0.178 273)
XYZxyz(12.0322, 8.2192, 44.6595)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3943B5 #B5AB39
analogous
#3981B5 #3943B5 #6D39B5
triadic
#3943B5 #B53943 #43B539
tetradic
#3943B5 #B53981 #B5AB39 #39B56D
square
#3943B5 #B53981 #B5AB39 #39B56D
split-complementary
#3943B5 #B56D39 #81B539
monochromatic
#1C2158 #2A3286 #3943B5 #5F68CD #8D94DB

Accessibility & contrast

On white

7.94
#3943B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3943B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3943B5
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3943B5#FFFFFF#000000##FFFFFF
##3943B51.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#004BB3
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3943b5;
/* rgb */ color: rgb(57, 67, 181);
/* oklch */ color: oklch(44.8% 0.178 273.0);
Tailwind
colors: {
  custom: {
    50: '#7f77cc',
    500: '#3943b5',
    950: '#000000',
  },
}
SCSS
$custom: #3943b5;
$custom-light: #7f77cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3943b5",
  "rgb": {
    "r": 57,
    "g": 67,
    "b": 181
  },
  "hsl": {
    "h": 235.161,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4483,
    "c": 0.17809,
    "h": 273
  },
  "luminance": 0.0822
}

Semantic roles & 50–950 ramp

primary
#3943B5
secondary
#C6C084
accent
#D04CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3943B5

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

Preview Lab → · Contrast checker → · Palette generator →

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