#3945B9#3945B9

#3945B9 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.5% C 0.181 H 272.4°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#3945B9
RGBrgb(57, 69, 185)
HSLhsl(234, 53%, 47%)
HSVhsv(234, 69%, 73%)
CMYKcmyk(69.2%, 62.7%, 0%, 27.5%)
CIE-LABlab(35.26, 33.80, -62.66)
CIE-LCHlch(35.26, 71.20, 298.35°)
OKLaboklab(45.54% 0.0075 -0.1808)
OKLCHoklch(45.54% 0.181 272.4)
XYZxyz(12.5695, 8.6277, 46.8924)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945B9 #B9AD39
analogous
#3985B9 #3945B9 #6D39B9
triadic
#3945B9 #B93945 #45B939
tetradic
#3945B9 #B93985 #B9AD39 #39B96D
square
#3945B9 #B93985 #B9AD39 #39B96D
split-complementary
#3945B9 #B96D39 #85B939
monochromatic
#1C225B #2B348A #3945B9 #616BCE #9097DD

Accessibility & contrast

On white

7.70
#3945B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3945B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3945B9
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3945B9#FFFFFF#000000##FFFFFF
##3945B91.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#004DB7
Tritanopia (blue-blind)
#006378
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3945b9;
/* rgb */ color: rgb(57, 69, 185);
/* oklch */ color: oklch(45.5% 0.181 272.4);
Tailwind
colors: {
  custom: {
    50: '#8078cf',
    500: '#3945b9',
    950: '#000000',
  },
}
SCSS
$custom: #3945b9;
$custom-light: #8078cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3945b9",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 185
  },
  "hsl": {
    "h": 234.375,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.45538,
    "c": 0.18099,
    "h": 272.4
  },
  "luminance": 0.08629
}

Semantic roles & 50–950 ramp

primary
#3945B9
secondary
#C8C186
accent
#CF4BDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3945B9

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

Preview Lab → · Contrast checker → · Palette generator →

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