#3938B6#3938B6

#3938B6 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.1% C 0.192 H 275.1°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#3938B6
RGBrgb(57, 56, 182)
HSLhsl(240, 53%, 47%)
HSVhsv(240, 69%, 71%)
CMYKcmyk(68.7%, 69.2%, 0%, 28.6%)
CIE-LABlab(31.98, 40.81, -66.26)
CIE-LCHlch(31.98, 77.82, 301.63°)
OKLaboklab(43.07% 0.017 -0.1914)
OKLCHoklch(43.07% 0.192 275.1)
XYZxyz(11.5422, 7.0745, 45.0042)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938B6 #B5B638
analogous
#3876B6 #3938B6 #7838B6
triadic
#3938B6 #B63938 #38B639
tetradic
#3938B6 #B63876 #B5B638 #38B678
square
#3938B6 #B63876 #B5B638 #38B678
split-complementary
#3938B6 #B67838 #76B638
monochromatic
#1C1B58 #2A2A87 #3938B6 #5F5ECD #8D8DDC

Accessibility & contrast

On white

8.69
#3938B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3938B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3938B6
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3938B6#FFFFFF#000000##FFFFFF
##3938B61.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0045B4
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3938b6;
/* rgb */ color: rgb(57, 56, 182);
/* oklch */ color: oklch(43.1% 0.192 275.1);
Tailwind
colors: {
  custom: {
    50: '#806fcd',
    500: '#3938b6',
    950: '#000000',
  },
}
SCSS
$custom: #3938b6;
$custom-light: #806fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3938b6",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 182
  },
  "hsl": {
    "h": 240.476,
    "s": 52.941,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43067,
    "c": 0.19218,
    "h": 275.1
  },
  "luminance": 0.07076
}

Semantic roles & 50–950 ramp

primary
#3938B6
secondary
#C6C684
accent
#DC4BDB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3938B6

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

Preview Lab → · Contrast checker → · Palette generator →

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