#3934B8#3934B8

#3934B8 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.6% C 0.199 H 275.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#3934B8
RGBrgb(57, 52, 184)
HSLhsl(242, 56%, 46%)
HSVhsv(242, 72%, 72%)
CMYKcmyk(69%, 71.7%, 0%, 27.8%)
CIE-LABlab(31.31, 43.82, -68.54)
CIE-LCHlch(31.31, 81.35, 302.59°)
OKLaboklab(42.65% 0.0192 -0.1981)
OKLCHoklch(42.65% 0.199 275.5)
XYZxyz(11.5642, 6.7855, 46.0384)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3934B8 #B3B834
analogous
#3471B8 #3934B8 #7B34B8
triadic
#3934B8 #B83934 #34B839
tetradic
#3934B8 #B83471 #B3B834 #34B87B
square
#3934B8 #B83471 #B3B834 #34B87B
split-complementary
#3934B8 #B87B34 #71B834
monochromatic
#1B1959 #2A2788 #3934B8 #5E59D0 #8C89DE

Accessibility & contrast

On white

8.91
#3934B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3934B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3934B8
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3934B8#FFFFFF#000000##FFFFFF
##3934B81.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#0044B6
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3934b8;
/* rgb */ color: rgb(57, 52, 184);
/* oklch */ color: oklch(42.6% 0.199 275.5);
Tailwind
colors: {
  custom: {
    50: '#816dcf',
    500: '#3934b8',
    950: '#000000',
  },
}
SCSS
$custom: #3934b8;
$custom-light: #816dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3934b8",
  "rgb": {
    "r": 57,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 242.273,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4265,
    "c": 0.199,
    "h": 275.5
  },
  "luminance": 0.06787
}

Semantic roles & 50–950 ramp

primary
#3934B8
secondary
#C5C880
accent
#DF49DA
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3934B8

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

Preview Lab → · Contrast checker → · Palette generator →

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