#3941A8#3941A8

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

Color values

HEX#3941A8
RGBrgb(57, 65, 168)
HSLhsl(236, 49%, 44%)
HSVhsv(236, 66%, 66%)
CMYKcmyk(66.1%, 61.3%, 0%, 34.1%)
CIE-LABlab(32.87, 30.36, -56.46)
CIE-LCHlch(32.87, 64.10, 298.27°)
OKLaboklab(43.34% 0.0114 -0.1626)
OKLCHoklch(43.34% 0.163 274)
XYZxyz(10.6432, 7.4767, 37.9205)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941A8 #A8A039
analogous
#3979A8 #3941A8 #6939A8
triadic
#3941A8 #A83941 #41A839
tetradic
#3941A8 #A83979 #A8A039 #39A869
square
#3941A8 #A83979 #A8A039 #39A869
split-complementary
#3941A8 #A86939 #79A839
monochromatic
#1A1E4D #292F7A #3941A8 #5860C6 #868BD6

Accessibility & contrast

On white

8.41
#3941A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3941A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3941A8
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941A8#FFFFFF#000000##FFFFFF
##3941A81.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AB
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#005B6E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3941a8;
/* rgb */ color: rgb(57, 65, 168);
/* oklch */ color: oklch(43.3% 0.163 274.0);
Tailwind
colors: {
  custom: {
    50: '#7d75c3',
    500: '#3941a8',
    950: '#000000',
  },
}
SCSS
$custom: #3941a8;
$custom-light: #7d75c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3941a8",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 168
  },
  "hsl": {
    "h": 235.676,
    "s": 49.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43342,
    "c": 0.16305,
    "h": 274
  },
  "luminance": 0.07478
}

Semantic roles & 50–950 ramp

primary
#3941A8
secondary
#C0BB7D
accent
#CF4FD9
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3941A8

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

Preview Lab → · Contrast checker → · Palette generator →

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