#3943AF#3943AF

#3943AF is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.3% C 0.170 H 273.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#3943AF
RGBrgb(57, 67, 175)
HSLhsl(235, 51%, 45%)
HSVhsv(235, 67%, 69%)
CMYKcmyk(67.4%, 61.7%, 0%, 31.4%)
CIE-LABlab(33.94, 31.55, -58.89)
CIE-LCHlch(33.94, 66.81, 298.18°)
OKLaboklab(44.31% 0.0095 -0.1698)
OKLCHoklch(44.31% 0.17 273.2)
XYZxyz(11.4298, 7.9783, 41.4867)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3943AF #AFA539
analogous
#397EAF #3943AF #6A39AF
triadic
#3943AF #AF3943 #43AF39
tetradic
#3943AF #AF397E #AFA539 #39AF6A
square
#3943AF #AF397E #AFA539 #39AF6A
split-complementary
#3943AF #AF6A39 #7EAF39
monochromatic
#1B2053 #2A3181 #3943AF #5B65CA #8A90D9

Accessibility & contrast

On white

8.09
#3943AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3943AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3943AF
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3943AF#FFFFFF#000000##FFFFFF
##3943AF1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3943af;
/* rgb */ color: rgb(57, 67, 175);
/* oklch */ color: oklch(44.3% 0.170 273.2);
Tailwind
colors: {
  custom: {
    50: '#7e77c8',
    500: '#3943af',
    950: '#000000',
  },
}
SCSS
$custom: #3943af;
$custom-light: #7e77c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3943af",
  "rgb": {
    "r": 57,
    "g": 67,
    "b": 175
  },
  "hsl": {
    "h": 234.915,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.44309,
    "c": 0.17005,
    "h": 273.2
  },
  "luminance": 0.07979
}

Semantic roles & 50–950 ramp

primary
#3943AF
secondary
#C3BD81
accent
#CE4DDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3943AF

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

Preview Lab → · Contrast checker → · Palette generator →

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