#3945BC#3945BC

#3945BC is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.8% C 0.185 H 272.3°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#3945BC
RGBrgb(57, 69, 188)
HSLhsl(235, 53%, 48%)
HSVhsv(235, 70%, 74%)
CMYKcmyk(69.7%, 63.3%, 0%, 26.3%)
CIE-LABlab(35.51, 34.86, -64.01)
CIE-LCHlch(35.51, 72.89, 298.57°)
OKLaboklab(45.8% 0.0074 -0.1848)
OKLCHoklch(45.8% 0.185 272.3)
XYZxyz(12.8895, 8.7557, 48.5779)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945BC #BCB039
analogous
#3986BC #3945BC #6E39BC
triadic
#3945BC #BC3945 #45BC39
tetradic
#3945BC #BC3986 #BCB039 #39BC6E
square
#3945BC #BC3986 #BCB039 #39BC6E
split-complementary
#3945BC #BC6E39 #86BC39
monochromatic
#1D235E #2B348D #3945BC #636DD0 #9299DE

Accessibility & contrast

On white

7.63
#3945BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3945BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3945BC
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3945BC#FFFFFF#000000##FFFFFF
##3945BC1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3945bc;
/* rgb */ color: rgb(57, 69, 188);
/* oklch */ color: oklch(45.8% 0.185 272.3);
Tailwind
colors: {
  custom: {
    50: '#8178d1',
    500: '#3945bc',
    950: '#000000',
  },
}
SCSS
$custom: #3945bc;
$custom-light: #8178d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3945bc",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 234.504,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.45802,
    "c": 0.18495,
    "h": 272.3
  },
  "luminance": 0.08757
}

Semantic roles & 50–950 ramp

primary
#3945BC
secondary
#C9C388
accent
#CF4BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3945BC

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

Preview Lab → · Contrast checker → · Palette generator →

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