#3941B8#3941B8

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

Color values

HEX#3941B8
RGBrgb(57, 65, 184)
HSLhsl(236, 53%, 47%)
HSVhsv(236, 69%, 72%)
CMYKcmyk(69%, 64.7%, 0%, 27.8%)
CIE-LABlab(34.21, 35.97, -63.78)
CIE-LCHlch(34.21, 73.23, 299.42°)
OKLaboklab(44.75% 0.0105 -0.1841)
OKLCHoklch(44.75% 0.184 273.3)
XYZxyz(12.2265, 8.1100, 46.2592)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3941B8 #B8B039
analogous
#3981B8 #3941B8 #7039B8
triadic
#3941B8 #B83941 #41B839
tetradic
#3941B8 #B83981 #B8B039 #39B870
square
#3941B8 #B83981 #B8B039 #39B870
split-complementary
#3941B8 #B87039 #81B839
monochromatic
#1C205B #2B3089 #3941B8 #6067CE #8F94DC

Accessibility & contrast

On white

8.01
#3941B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3941B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3941B8
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3941B8#FFFFFF#000000##FFFFFF
##3941B81.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3941b8;
/* rgb */ color: rgb(57, 65, 184);
/* oklch */ color: oklch(44.7% 0.184 273.3);
Tailwind
colors: {
  custom: {
    50: '#8076ce',
    500: '#3941b8',
    950: '#000000',
  },
}
SCSS
$custom: #3941b8;
$custom-light: #8076ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3941b8",
  "rgb": {
    "r": 57,
    "g": 65,
    "b": 184
  },
  "hsl": {
    "h": 236.22,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44745,
    "c": 0.18444,
    "h": 273.3
  },
  "luminance": 0.08111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3941B8

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

Preview Lab → · Contrast checker → · Palette generator →

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