#3139A5#3139A5

#3139A5 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.1% C 0.171 H 272.9°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#3139A5
RGBrgb(49, 57, 165)
HSLhsl(236, 54%, 42%)
HSVhsv(236, 70%, 65%)
CMYKcmyk(70.3%, 65.5%, 0%, 35.3%)
CIE-LABlab(30.14, 33.30, -59.12)
CIE-LCHlch(30.14, 67.86, 299.39°)
OKLaboklab(41.13% 0.0087 -0.1707)
OKLCHoklch(41.13% 0.171 272.9)
XYZxyz(9.5190, 6.2949, 36.3034)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3139A5 #A59D31
analogous
#3173A5 #3139A5 #6331A5
triadic
#3139A5 #A53139 #39A531
tetradic
#3139A5 #A53173 #A59D31 #31A563
square
#3139A5 #A53173 #A59D31 #31A563
split-complementary
#3139A5 #A56331 #73A531
monochromatic
#151847 #232976 #3139A5 #4A53C9 #7980D7

Accessibility & contrast

On white

9.30
#3139A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3139A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3139A5
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3139A5#FFFFFF#000000##FFFFFF
##3139A51.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA8
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#00556A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3139a5;
/* rgb */ color: rgb(49, 57, 165);
/* oklch */ color: oklch(41.1% 0.171 272.9);
Tailwind
colors: {
  custom: {
    50: '#796fc1',
    500: '#3139a5',
    950: '#000000',
  },
}
SCSS
$custom: #3139a5;
$custom-light: #796fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#3139a5",
  "rgb": {
    "r": 49,
    "g": 57,
    "b": 165
  },
  "hsl": {
    "h": 235.862,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4113,
    "c": 0.17096,
    "h": 272.9
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#3139A5
secondary
#C0BA72
accent
#D34ADE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3139A5

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

Preview Lab → · Contrast checker → · Palette generator →

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