#3938AF#3938AF

#3938AF is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.4% C 0.183 H 275.6°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#3938AF
RGBrgb(57, 56, 175)
HSLhsl(241, 52%, 45%)
HSVhsv(241, 68%, 69%)
CMYKcmyk(67.4%, 68%, 0%, 31.4%)
CIE-LABlab(31.33, 38.44, -63.16)
CIE-LCHlch(31.33, 73.94, 301.33°)
OKLaboklab(42.4% 0.0179 -0.1824)
OKLCHoklch(42.4% 0.183 275.6)
XYZxyz(10.8368, 6.7924, 41.2891)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3938AF #AEAF38
analogous
#3873AF #3938AF #7438AF
triadic
#3938AF #AF3938 #38AF39
tetradic
#3938AF #AF3873 #AEAF38 #38AF74
square
#3938AF #AF3873 #AEAF38 #38AF74
split-complementary
#3938AF #AF7438 #73AF38
monochromatic
#1B1A52 #2A2981 #3938AF #5B5ACA #8988D9

Accessibility & contrast

On white

8.90
#3938AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3938AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3938AF
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3938AF#FFFFFF#000000##FFFFFF
##3938AF1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3938af;
/* rgb */ color: rgb(57, 56, 175);
/* oklch */ color: oklch(42.4% 0.183 275.6);
Tailwind
colors: {
  custom: {
    50: '#7f6fc8',
    500: '#3938af',
    950: '#000000',
  },
}
SCSS
$custom: #3938af;
$custom-light: #7f6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3938af",
  "rgb": {
    "r": 57,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 240.504,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42404,
    "c": 0.18323,
    "h": 275.6
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

primary
#3938AF
secondary
#C3C380
accent
#DB4DDA
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3938AF

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

Preview Lab → · Contrast checker → · Palette generator →

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