#3945B5#3945B5

#3945B5 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.2% C 0.176 H 272.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#3945B5
RGBrgb(57, 69, 181)
HSLhsl(234, 52%, 47%)
HSVhsv(234, 69%, 71%)
CMYKcmyk(68.5%, 61.9%, 0%, 29%)
CIE-LABlab(34.93, 32.39, -60.84)
CIE-LCHlch(34.93, 68.92, 298.03°)
OKLaboklab(45.19% 0.0077 -0.1755)
OKLCHoklch(45.19% 0.176 272.5)
XYZxyz(12.1532, 8.4612, 44.6998)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945B5 #B5A939
analogous
#3983B5 #3945B5 #6B39B5
triadic
#3945B5 #B53945 #45B539
tetradic
#3945B5 #B53983 #B5A939 #39B56B
square
#3945B5 #B53983 #B5A939 #39B56B
split-complementary
#3945B5 #B56B39 #83B539
monochromatic
#1C2258 #2A3386 #3945B5 #5F69CD #8D95DB

Accessibility & contrast

On white

7.80
#3945B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3945B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3945B5
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3945B5#FFFFFF#000000##FFFFFF
##3945B51.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#006176
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3945b5;
/* rgb */ color: rgb(57, 69, 181);
/* oklch */ color: oklch(45.2% 0.176 272.5);
Tailwind
colors: {
  custom: {
    50: '#7f78cc',
    500: '#3945b5',
    950: '#000000',
  },
}
SCSS
$custom: #3945b5;
$custom-light: #7f78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3945b5",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 181
  },
  "hsl": {
    "h": 234.194,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45191,
    "c": 0.17566,
    "h": 272.5
  },
  "luminance": 0.08462
}

Semantic roles & 50–950 ramp

primary
#3945B5
secondary
#C6BF84
accent
#CE4CDC
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3945B5

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

Preview Lab → · Contrast checker → · Palette generator →

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