#3945DA#3945DA

#3945DA is a mid, highly saturated blue. Relative luminance 0.102; OKLCH L 48.6% C 0.223 H 271.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#3945DA
RGBrgb(57, 69, 218)
HSLhsl(236, 69%, 54%)
HSVhsv(236, 74%, 85%)
CMYKcmyk(73.9%, 68.3%, 0%, 14.5%)
CIE-LABlab(38.17, 45.22, -77.06)
CIE-LCHlch(38.17, 89.35, 300.41°)
OKLaboklab(48.56% 0.005 -0.223)
OKLCHoklch(48.56% 0.223 271.3)
XYZxyz(16.4661, 10.1863, 67.4144)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945DA #DACE39
analogous
#3996DA #3945DA #7E39DA
triadic
#3945DA #DA3945 #45DA39
tetradic
#3945DA #DA3996 #DACE39 #39DA7E
square
#3945DA #DA3996 #DACE39 #39DA7E
split-complementary
#3945DA #DA7E39 #96DA39
monochromatic
#182081 #222DB4 #3945DA #6D75E4 #A0A6ED

Accessibility & contrast

On white

6.91
#3945DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3945DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3945DA
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3945DA#FFFFFF#000000##FFFFFF
##3945DA1.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062DF
Deuteranopia (green-blind)
#0052D7
Tritanopia (blue-blind)
#006E8A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3945da;
/* rgb */ color: rgb(57, 69, 218);
/* oklch */ color: oklch(48.6% 0.223 271.3);
Tailwind
colors: {
  custom: {
    50: '#8779e7',
    500: '#3945da',
    950: '#000000',
  },
}
SCSS
$custom: #3945da;
$custom-light: #8779e7;
$custom-dark: #000000;
JSON
{
  "hex": "#3945da",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 235.528,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48558,
    "c": 0.22301,
    "h": 271.3
  },
  "luminance": 0.10188
}

Semantic roles & 50–950 ramp

primary
#3945DA
secondary
#DAD595
accent
#DE3CEB
background
#F9F7FE
surface
#F1EDFD
border
#CBC8D5
text
#0D0916
muted
#7E7B84

Preview Lab

Preview with #3945DA

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

Preview Lab → · Contrast checker → · Palette generator →

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