#3943A2#3943A2

#3943A2 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.2% C 0.152 H 273.6°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#3943A2
RGBrgb(57, 67, 162)
HSLhsl(234, 48%, 43%)
HSVhsv(234, 65%, 64%)
CMYKcmyk(64.8%, 58.6%, 0%, 36.5%)
CIE-LABlab(32.90, 26.93, -52.80)
CIE-LCHlch(32.90, 59.27, 297.02°)
OKLaboklab(43.22% 0.0097 -0.1519)
OKLCHoklch(43.22% 0.152 273.6)
XYZxyz(10.2139, 7.4919, 35.0832)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3943A2 #A29839
analogous
#3977A2 #3943A2 #6439A2
triadic
#3943A2 #A23943 #43A239
tetradic
#3943A2 #A23977 #A29839 #39A264
square
#3943A2 #A23977 #A29839 #39A264
split-complementary
#3943A2 #A26439 #77A239
monochromatic
#191E47 #293075 #3943A2 #5560C3 #828AD3

Accessibility & contrast

On white

8.40
#3943A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3943A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3943A2
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3943A2#FFFFFF#000000##FFFFFF
##3943A21.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3943a2;
/* rgb */ color: rgb(57, 67, 162);
/* oklch */ color: oklch(43.2% 0.152 273.6);
Tailwind
colors: {
  custom: {
    50: '#7b77be',
    500: '#3943a2',
    950: '#000000',
  },
}
SCSS
$custom: #3943a2;
$custom-light: #7b77be;
$custom-dark: #000000;
JSON
{
  "hex": "#3943a2",
  "rgb": {
    "r": 57,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 234.286,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43217,
    "c": 0.15219,
    "h": 273.6
  },
  "luminance": 0.07493
}

Semantic roles & 50–950 ramp

primary
#3943A2
secondary
#BDB67A
accent
#CB50D8
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3943A2

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

Preview Lab → · Contrast checker → · Palette generator →

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