#3941A7#3941A7

#3941A7 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.3% C 0.162 H 274.0°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#3941A7
RGBrgb(57, 65, 167)
HSLhsl(236, 49%, 44%)
HSVhsv(236, 66%, 65%)
CMYKcmyk(65.9%, 61.1%, 0%, 34.5%)
CIE-LABlab(32.79, 30.01, -55.99)
CIE-LCHlch(32.79, 63.52, 298.19°)
OKLaboklab(43.26% 0.0114 -0.1613)
OKLCHoklch(43.26% 0.162 274)
XYZxyz(10.5504, 7.4396, 37.4317)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941A7 #A79F39
analogous
#3978A7 #3941A7 #6839A7
triadic
#3941A7 #A73941 #41A739
tetradic
#3941A7 #A73978 #A79F39 #39A768
square
#3941A7 #A73978 #A79F39 #39A768
split-complementary
#3941A7 #A76839 #78A739
monochromatic
#1A1D4C #292F79 #3941A7 #575FC6 #858BD5

Accessibility & contrast

On white

8.44
#3941A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3941A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3941A7
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941A7#FFFFFF#000000##FFFFFF
##3941A71.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AA
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#005A6D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3941a7;
/* rgb */ color: rgb(57, 65, 167);
/* oklch */ color: oklch(43.3% 0.162 274.0);
Tailwind
colors: {
  custom: {
    50: '#7c75c2',
    500: '#3941a7',
    950: '#000000',
  },
}
SCSS
$custom: #3941a7;
$custom-light: #7c75c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3941a7",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 167
  },
  "hsl": {
    "h": 235.636,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43257,
    "c": 0.16168,
    "h": 274
  },
  "luminance": 0.0744
}

Semantic roles & 50–950 ramp

primary
#3941A7
secondary
#BFBA7D
accent
#CF4FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3941A7

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

Preview Lab → · Contrast checker → · Palette generator →

#3941A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva