#3139A4#3139A4

#3139A4 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.170 H 273.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#3139A4
RGBrgb(49, 57, 164)
HSLhsl(236, 54%, 42%)
HSVhsv(236, 70%, 64%)
CMYKcmyk(70.1%, 65.2%, 0%, 35.7%)
CIE-LABlab(30.06, 32.94, -58.67)
CIE-LCHlch(30.06, 67.28, 299.31°)
OKLaboklab(41.04% 0.0088 -0.1694)
OKLCHoklch(41.04% 0.17 273)
XYZxyz(9.4283, 6.2587, 35.8259)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3139A4 #A49C31
analogous
#3173A4 #3139A4 #6331A4
triadic
#3139A4 #A43139 #39A431
tetradic
#3139A4 #A43173 #A49C31 #31A463
square
#3139A4 #A43173 #A49C31 #31A463
split-complementary
#3139A4 #A46331 #73A431
monochromatic
#151846 #232975 #3139A4 #4952C9 #797FD7

Accessibility & contrast

On white

9.33
#3139A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3139A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3139A4
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3139A4#FFFFFF#000000##FFFFFF
##3139A41.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0042A2
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3139a4;
/* rgb */ color: rgb(49, 57, 164);
/* oklch */ color: oklch(41.0% 0.170 273.0);
Tailwind
colors: {
  custom: {
    50: '#796fc0',
    500: '#3139a4',
    950: '#000000',
  },
}
SCSS
$custom: #3139a4;
$custom-light: #796fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3139a4",
  "rgb": {
    "r": 49,
    "g": 57,
    "b": 164
  },
  "hsl": {
    "h": 235.826,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.41037,
    "c": 0.16963,
    "h": 273
  },
  "luminance": 0.0626
}

Semantic roles & 50–950 ramp

primary
#3139A4
secondary
#BFBA72
accent
#D34ADD
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3139A4

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

Preview Lab → · Contrast checker → · Palette generator →

#3139A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva