#3945A2#3945A2

#3945A2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.6% C 0.150 H 273.0°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#3945A2
RGBrgb(57, 69, 162)
HSLhsl(233, 48%, 43%)
HSVhsv(233, 65%, 64%)
CMYKcmyk(64.8%, 57.4%, 0%, 36.5%)
CIE-LABlab(33.42, 25.62, -51.95)
CIE-LCHlch(33.42, 57.93, 296.25°)
OKLaboklab(43.61% 0.0078 -0.1494)
OKLCHoklch(43.61% 0.15 273)
XYZxyz(10.3349, 7.7338, 35.1236)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945A2 #A29639
analogous
#3979A2 #3945A2 #6139A2
triadic
#3945A2 #A23945 #45A239
tetradic
#3945A2 #A23979 #A29639 #39A261
square
#3945A2 #A23979 #A29639 #39A261
split-complementary
#3945A2 #A26139 #79A239
monochromatic
#191E47 #293275 #3945A2 #5562C3 #828CD3

Accessibility & contrast

On white

8.24
#3945A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3945A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3945A2
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3945A2#FFFFFF#000000##FFFFFF
##3945A21.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3945a2;
/* rgb */ color: rgb(57, 69, 162);
/* oklch */ color: oklch(43.6% 0.150 273.0);
Tailwind
colors: {
  custom: {
    50: '#7b78be',
    500: '#3945a2',
    950: '#000000',
  },
}
SCSS
$custom: #3945a2;
$custom-light: #7b78be;
$custom-dark: #000000;
JSON
{
  "hex": "#3945a2",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 233.143,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43605,
    "c": 0.14958,
    "h": 273
  },
  "luminance": 0.07735
}

Semantic roles & 50–950 ramp

primary
#3945A2
secondary
#BDB57A
accent
#C850D8
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3945A2

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

Preview Lab → · Contrast checker → · Palette generator →

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