#3938B8#3938B8

#3938B8 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.3% C 0.195 H 274.9°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#3938B8
RGBrgb(57, 56, 184)
HSLhsl(240, 53%, 47%)
HSVhsv(240, 70%, 72%)
CMYKcmyk(69%, 69.6%, 0%, 27.8%)
CIE-LABlab(32.16, 41.48, -67.14)
CIE-LCHlch(32.16, 78.92, 301.71°)
OKLaboklab(43.26% 0.0167 -0.194)
OKLCHoklch(43.26% 0.195 274.9)
XYZxyz(11.7504, 7.1578, 46.1005)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938B8 #B7B838
analogous
#3877B8 #3938B8 #7938B8
triadic
#3938B8 #B83938 #38B839
tetradic
#3938B8 #B83877 #B7B838 #38B879
square
#3938B8 #B83877 #B7B838 #38B879
split-complementary
#3938B8 #B87938 #77B838
monochromatic
#1C1B5A #2A2A89 #3938B8 #605FCE #8E8EDD

Accessibility & contrast

On white

8.64
#3938B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3938B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3938B8
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3938B8#FFFFFF#000000##FFFFFF
##3938B81.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0046B6
Tritanopia (blue-blind)
#005B74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3938b8;
/* rgb */ color: rgb(57, 56, 184);
/* oklch */ color: oklch(43.3% 0.195 274.9);
Tailwind
colors: {
  custom: {
    50: '#8170ce',
    500: '#3938b8',
    950: '#000000',
  },
}
SCSS
$custom: #3938b8;
$custom-light: #8170ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3938b8",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 184
  },
  "hsl": {
    "h": 240.469,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43259,
    "c": 0.19472,
    "h": 274.9
  },
  "luminance": 0.07159
}

Semantic roles & 50–950 ramp

primary
#3938B8
secondary
#C7C785
accent
#DD4BDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3938B8

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

Preview Lab → · Contrast checker → · Palette generator →

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