#3945BF#3945BF

#3945BF is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.1% C 0.189 H 272.2°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#3945BF
RGBrgb(57, 69, 191)
HSLhsl(235, 54%, 49%)
HSVhsv(235, 70%, 75%)
CMYKcmyk(70.2%, 63.9%, 0%, 25.1%)
CIE-LABlab(35.76, 35.91, -65.36)
CIE-LCHlch(35.76, 74.57, 298.79°)
OKLaboklab(46.07% 0.0072 -0.1887)
OKLCHoklch(46.07% 0.189 272.2)
XYZxyz(13.2163, 8.8864, 50.2989)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945BF #BFB339
analogous
#3988BF #3945BF #7039BF
triadic
#3945BF #BF3945 #45BF39
tetradic
#3945BF #BF3988 #BFB339 #39BF70
square
#3945BF #BF3988 #BFB339 #39BF70
split-complementary
#3945BF #BF7039 #88BF39
monochromatic
#1D2361 #2B3490 #3945BF #646ED1 #939ADF

Accessibility & contrast

On white

7.56
#3945BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3945BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3945BF
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3945BF#FFFFFF#000000##FFFFFF
##3945BF1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#004EBD
Tritanopia (blue-blind)
#00657B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3945bf;
/* rgb */ color: rgb(57, 69, 191);
/* oklch */ color: oklch(46.1% 0.189 272.2);
Tailwind
colors: {
  custom: {
    50: '#8179d3',
    500: '#3945bf',
    950: '#000000',
  },
}
SCSS
$custom: #3945bf;
$custom-light: #8179d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3945bf",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 234.627,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.46068,
    "c": 0.18888,
    "h": 272.2
  },
  "luminance": 0.08888
}

Semantic roles & 50–950 ramp

primary
#3945BF
secondary
#CAC48A
accent
#D04ADD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3945BF

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

Preview Lab → · Contrast checker → · Palette generator →

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