#3139A2#3139A2

#3139A2 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.9% C 0.167 H 273.1°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#3139A2
RGBrgb(49, 57, 162)
HSLhsl(236, 54%, 41%)
HSVhsv(236, 70%, 64%)
CMYKcmyk(69.8%, 64.8%, 0%, 36.5%)
CIE-LABlab(29.88, 32.22, -57.75)
CIE-LCHlch(29.88, 66.13, 299.16°)
OKLaboklab(40.85% 0.0089 -0.1667)
OKLCHoklch(40.85% 0.167 273.1)
XYZxyz(9.2492, 6.1870, 34.8822)
Luminance0.0619 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3139A2 #A29A31
analogous
#3172A2 #3139A2 #6231A2
triadic
#3139A2 #A23139 #39A231
tetradic
#3139A2 #A23172 #A29A31 #31A262
square
#3139A2 #A23172 #A29A31 #31A262
split-complementary
#3139A2 #A26231 #72A231
monochromatic
#151844 #232873 #3139A2 #4851C8 #777ED6

Accessibility & contrast

On white

9.39
#3139A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3139A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3139A2
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3139A2#FFFFFF#000000##FFFFFF
##3139A21.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#0041A0
Tritanopia (blue-blind)
#005468
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3139a2;
/* rgb */ color: rgb(49, 57, 162);
/* oklch */ color: oklch(40.9% 0.167 273.1);
Tailwind
colors: {
  custom: {
    50: '#786fbe',
    500: '#3139a2',
    950: '#000000',
  },
}
SCSS
$custom: #3139a2;
$custom-light: #786fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3139a2",
  "rgb": {
    "r": 49,
    "g": 57,
    "b": 162
  },
  "hsl": {
    "h": 235.752,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40854,
    "c": 0.16695,
    "h": 273.1
  },
  "luminance": 0.06188
}

Semantic roles & 50–950 ramp

primary
#3139A2
secondary
#BEB971
accent
#D34BDD
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3139A2

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

Preview Lab → · Contrast checker → · Palette generator →

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