#3938B5#3938B5

#3938B5 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 43.0% C 0.191 H 275.1°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#3938B5
RGBrgb(57, 56, 181)
HSLhsl(240, 53%, 46%)
HSVhsv(240, 69%, 71%)
CMYKcmyk(68.5%, 69.1%, 0%, 29%)
CIE-LABlab(31.88, 40.47, -65.82)
CIE-LCHlch(31.88, 77.27, 301.59°)
OKLaboklab(42.97% 0.0171 -0.1902)
OKLCHoklch(42.97% 0.191 275.1)
XYZxyz(11.4393, 7.0334, 44.4618)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938B5 #B4B538
analogous
#3876B5 #3938B5 #7838B5
triadic
#3938B5 #B53938 #38B539
tetradic
#3938B5 #B53876 #B4B538 #38B578
square
#3938B5 #B53876 #B4B538 #38B578
split-complementary
#3938B5 #B57838 #76B538
monochromatic
#1C1B58 #2A2A86 #3938B5 #5E5DCD #8D8CDB

Accessibility & contrast

On white

8.73
#3938B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3938B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3938B5
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3938B5#FFFFFF#000000##FFFFFF
##3938B51.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0045B3
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3938b5;
/* rgb */ color: rgb(57, 56, 181);
/* oklch */ color: oklch(43.0% 0.191 275.1);
Tailwind
colors: {
  custom: {
    50: '#806fcc',
    500: '#3938b5',
    950: '#000000',
  },
}
SCSS
$custom: #3938b5;
$custom-light: #806fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3938b5",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 181
  },
  "hsl": {
    "h": 240.48,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42972,
    "c": 0.19092,
    "h": 275.1
  },
  "luminance": 0.07034
}

Semantic roles & 50–950 ramp

primary
#3938B5
secondary
#C5C683
accent
#DC4CDB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3938B5

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

Preview Lab → · Contrast checker → · Palette generator →

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