#3945C7#3945C7

#3945C7 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.8% C 0.199 H 271.9°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#3945C7
RGBrgb(57, 69, 199)
HSLhsl(235, 56%, 50%)
HSVhsv(235, 71%, 78%)
CMYKcmyk(71.4%, 65.3%, 0%, 22%)
CIE-LABlab(36.46, 38.70, -68.90)
CIE-LCHlch(36.46, 79.02, 299.33°)
OKLaboklab(46.79% 0.0067 -0.1991)
OKLCHoklch(46.79% 0.199 271.9)
XYZxyz(14.1208, 9.2482, 55.0627)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3945C7 #C7BB39
analogous
#398CC7 #3945C7 #7439C7
triadic
#3945C7 #C73945 #45C739
tetradic
#3945C7 #C7398C #C7BB39 #39C774
square
#3945C7 #C7398C #C7BB39 #39C774
split-complementary
#3945C7 #C77439 #8CC739
monochromatic
#1D2468 #2B3498 #3945C7 #6972D4 #989FE2

Accessibility & contrast

On white

7.37
#3945C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#3945C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3945C7
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3945C7#FFFFFF#000000##FFFFFF
##3945C71.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCB
Deuteranopia (green-blind)
#004FC5
Tritanopia (blue-blind)
#006780
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3945c7;
/* rgb */ color: rgb(57, 69, 199);
/* oklch */ color: oklch(46.8% 0.199 271.9);
Tailwind
colors: {
  custom: {
    50: '#8379d9',
    500: '#3945c7',
    950: '#000000',
  },
}
SCSS
$custom: #3945c7;
$custom-light: #8379d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3945c7",
  "rgb": {
    "r": 57,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 234.93,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46788,
    "c": 0.19922,
    "h": 271.9
  },
  "luminance": 0.0925
}

Semantic roles & 50–950 ramp

primary
#3945C7
secondary
#CEC88E
accent
#D249DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0915
muted
#7D7B83

Preview Lab

Preview with #3945C7

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

Preview Lab → · Contrast checker → · Palette generator →

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