#3938B3#3938B3

#3938B3 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.188 H 275.3°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#3938B3
RGBrgb(57, 56, 179)
HSLhsl(240, 52%, 46%)
HSVhsv(240, 69%, 70%)
CMYKcmyk(68.2%, 68.7%, 0%, 29.8%)
CIE-LABlab(31.70, 39.80, -64.94)
CIE-LCHlch(31.70, 76.16, 301.50°)
OKLaboklab(42.78% 0.0174 -0.1876)
OKLCHoklch(42.78% 0.188 275.3)
XYZxyz(11.2355, 6.9519, 43.3888)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938B3 #B2B338
analogous
#3874B3 #3938B3 #7638B3
triadic
#3938B3 #B33938 #38B339
tetradic
#3938B3 #B33874 #B2B338 #38B376
square
#3938B3 #B33874 #B2B338 #38B376
split-complementary
#3938B3 #B37638 #74B338
monochromatic
#1B1B56 #2A2984 #3938B3 #5D5CCC #8B8BDB

Accessibility & contrast

On white

8.78
#3938B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3938B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3938B3
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3938B3#FFFFFF#000000##FFFFFF
##3938B31.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3938b3;
/* rgb */ color: rgb(57, 56, 179);
/* oklch */ color: oklch(42.8% 0.188 275.3);
Tailwind
colors: {
  custom: {
    50: '#806fcb',
    500: '#3938b3',
    950: '#000000',
  },
}
SCSS
$custom: #3938b3;
$custom-light: #806fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3938b3",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 179
  },
  "hsl": {
    "h": 240.488,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42781,
    "c": 0.18836,
    "h": 275.3
  },
  "luminance": 0.06953
}

Semantic roles & 50–950 ramp

primary
#3938B3
secondary
#C4C582
accent
#DC4CDB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #3938B3

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

Preview Lab → · Contrast checker → · Palette generator →

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