#3938BE#3938BE

#3938BE is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 43.8% C 0.202 H 274.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#3938BE
RGBrgb(57, 56, 190)
HSLhsl(240, 54%, 48%)
HSVhsv(240, 71%, 75%)
CMYKcmyk(70%, 70.5%, 0%, 25.5%)
CIE-LABlab(32.73, 43.48, -69.74)
CIE-LCHlch(32.73, 82.19, 301.94°)
OKLaboklab(43.84% 0.0158 -0.2016)
OKLCHoklch(43.84% 0.202 274.5)
XYZxyz(12.3927, 7.4147, 49.4833)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938BE #BDBE38
analogous
#387ABE #3938BE #7C38BE
triadic
#3938BE #BE3938 #38BE39
tetradic
#3938BE #BE387A #BDBE38 #38BE7C
square
#3938BE #BE387A #BDBE38 #38BE7C
split-complementary
#3938BE #BE7C38 #7ABE38
monochromatic
#1D1C5F #2B2A8F #3938BE #6362D1 #9292DF

Accessibility & contrast

On white

8.46
#3938BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3938BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3938BE
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3938BE#FFFFFF#000000##FFFFFF
##3938BE1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C2
Deuteranopia (green-blind)
#0047BC
Tritanopia (blue-blind)
#005D77
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3938be;
/* rgb */ color: rgb(57, 56, 190);
/* oklch */ color: oklch(43.8% 0.202 274.5);
Tailwind
colors: {
  custom: {
    50: '#8270d3',
    500: '#3938be',
    950: '#000000',
  },
}
SCSS
$custom: #3938be;
$custom-light: #8270d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3938be",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 240.448,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43841,
    "c": 0.20223,
    "h": 274.5
  },
  "luminance": 0.07416
}

Semantic roles & 50–950 ramp

primary
#3938BE
secondary
#C9CA88
accent
#DE4ADD
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3938BE

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

Preview Lab → · Contrast checker → · Palette generator →

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