#3939B8#3939B8

#3939B8 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.4% C 0.194 H 274.8°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#3939B8
RGBrgb(57, 57, 184)
HSLhsl(240, 53%, 47%)
HSVhsv(240, 69%, 72%)
CMYKcmyk(69%, 69%, 0%, 27.8%)
CIE-LABlab(32.38, 40.88, -66.78)
CIE-LCHlch(32.38, 78.30, 301.48°)
OKLaboklab(43.42% 0.016 -0.1929)
OKLCHoklch(43.42% 0.194 274.8)
XYZxyz(11.7993, 7.2557, 46.1168)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3939B8 #B8B839
analogous
#3979B8 #3939B8 #7939B8
triadic
#3939B8 #B83939 #39B839
tetradic
#3939B8 #B83979 #B8B839 #39B879
square
#3939B8 #B83979 #B8B839 #39B879
split-complementary
#3939B8 #B87939 #79B839
monochromatic
#1C1C5B #2B2B89 #3939B8 #6060CE #8F8FDC

Accessibility & contrast

On white

8.57
#3939B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#3939B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3939B8
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3939B8#FFFFFF#000000##FFFFFF
##3939B81.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.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: #3939b8;
/* rgb */ color: rgb(57, 57, 184);
/* oklch */ color: oklch(43.4% 0.194 274.8);
Tailwind
colors: {
  custom: {
    50: '#8170ce',
    500: '#3939b8',
    950: '#000000',
  },
}
SCSS
$custom: #3939b8;
$custom-light: #8170ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3939b8",
  "rgb": {
    "r": 57,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 240,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43417,
    "c": 0.19362,
    "h": 274.8
  },
  "luminance": 0.07257
}

Semantic roles & 50–950 ramp

primary
#3939B8
secondary
#C7C786
accent
#DC4CDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3939B8

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

Preview Lab → · Contrast checker → · Palette generator →

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