#3938BB#3938BB

#3938BB is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.5% C 0.198 H 274.7°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#3938BB
RGBrgb(57, 56, 187)
HSLhsl(240, 54%, 48%)
HSVhsv(240, 70%, 73%)
CMYKcmyk(69.5%, 70.1%, 0%, 26.7%)
CIE-LABlab(32.45, 42.48, -68.45)
CIE-LCHlch(32.45, 80.56, 301.83°)
OKLaboklab(43.55% 0.0163 -0.1978)
OKLCHoklch(43.55% 0.198 274.7)
XYZxyz(12.0682, 7.2849, 47.7742)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938BB #BABB38
analogous
#3878BB #3938BB #7A38BB
triadic
#3938BB #BB3938 #38BB39
tetradic
#3938BB #BB3878 #BABB38 #38BB7A
square
#3938BB #BB3878 #BABB38 #38BB7A
split-complementary
#3938BB #BB7A38 #78BB38
monochromatic
#1C1C5D #2B2A8C #3938BB #6161D0 #9090DE

Accessibility & contrast

On white

8.55
#3938BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3938BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3938BB
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3938BB#FFFFFF#000000##FFFFFF
##3938BB1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0046B9
Tritanopia (blue-blind)
#005C75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3938bb;
/* rgb */ color: rgb(57, 56, 187);
/* oklch */ color: oklch(43.5% 0.198 274.7);
Tailwind
colors: {
  custom: {
    50: '#8170d1',
    500: '#3938bb',
    950: '#000000',
  },
}
SCSS
$custom: #3938bb;
$custom-light: #8170d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3938bb",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 240.458,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.43549,
    "c": 0.19849,
    "h": 274.7
  },
  "luminance": 0.07286
}

Semantic roles & 50–950 ramp

primary
#3938BB
secondary
#C8C886
accent
#DD4BDC
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3938BB

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

Preview Lab → · Contrast checker → · Palette generator →

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