#3941B7#3941B7

#3941B7 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.7% C 0.183 H 273.3°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#3941B7
RGBrgb(57, 65, 183)
HSLhsl(236, 53%, 47%)
HSVhsv(236, 69%, 72%)
CMYKcmyk(68.9%, 64.5%, 0%, 28.2%)
CIE-LABlab(34.12, 35.63, -63.33)
CIE-LCHlch(34.12, 72.66, 299.36°)
OKLaboklab(44.66% 0.0106 -0.1828)
OKLCHoklch(44.66% 0.183 273.3)
XYZxyz(12.1220, 8.0682, 45.7091)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941B7 #B7AF39
analogous
#3980B7 #3941B7 #7039B7
triadic
#3941B7 #B73941 #41B739
tetradic
#3941B7 #B73980 #B7AF39 #39B770
square
#3941B7 #B73980 #B7AF39 #39B770
split-complementary
#3941B7 #B77039 #80B739
monochromatic
#1C205A #2A3088 #3941B7 #6067CD #8E93DC

Accessibility & contrast

On white

8.03
#3941B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3941B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3941B7
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941B7#FFFFFF#000000##FFFFFF
##3941B71.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#004BB5
Tritanopia (blue-blind)
#006076
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3941b7;
/* rgb */ color: rgb(57, 65, 183);
/* oklch */ color: oklch(44.7% 0.183 273.3);
Tailwind
colors: {
  custom: {
    50: '#8076ce',
    500: '#3941b7',
    950: '#000000',
  },
}
SCSS
$custom: #3941b7;
$custom-light: #8076ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3941b7",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 183
  },
  "hsl": {
    "h": 236.19,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44655,
    "c": 0.18314,
    "h": 273.3
  },
  "luminance": 0.08069
}

Semantic roles & 50–950 ramp

primary
#3941B7
secondary
#C7C285
accent
#D34CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3941B7

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

Preview Lab → · Contrast checker → · Palette generator →

#3941B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva