#3139AA#3139AA

#3139AA is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.6% C 0.178 H 272.7°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#3139AA
RGBrgb(49, 57, 170)
HSLhsl(236, 55%, 43%)
HSVhsv(236, 71%, 67%)
CMYKcmyk(71.2%, 66.5%, 0%, 33.3%)
CIE-LABlab(30.59, 35.07, -61.39)
CIE-LCHlch(30.59, 70.71, 299.74°)
OKLaboklab(41.6% 0.0083 -0.1774)
OKLCHoklch(41.6% 0.178 272.7)
XYZxyz(9.9830, 6.4805, 38.7472)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3139AA #AAA231
analogous
#3175AA #3139AA #6531AA
triadic
#3139AA #AA3139 #39AA31
tetradic
#3139AA #AA3175 #AAA231 #31AA65
square
#3139AA #AA3175 #AAA231 #31AA65
split-complementary
#3139AA #AA6531 #75AA31
monochromatic
#16194B #23297A #3139AA #4D55CC #7C82D9

Accessibility & contrast

On white

9.14
#3139AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3139AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3139AA#FFFFFF#000000##FFFFFF
##3139AA1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0042A8
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3139aa;
/* rgb */ color: rgb(49, 57, 170);
/* oklch */ color: oklch(41.6% 0.178 272.7);
Tailwind
colors: {
  custom: {
    50: '#7a6fc4',
    500: '#3139aa',
    950: '#000000',
  },
}
SCSS
$custom: #3139aa;
$custom-light: #7a6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3139aa",
  "rgb": {
    "r": 49,
    "g": 57,
    "b": 170
  },
  "hsl": {
    "h": 236.033,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41595,
    "c": 0.17758,
    "h": 272.7
  },
  "luminance": 0.06482
}

Semantic roles & 50–950 ramp

primary
#3139AA
secondary
#C2BD75
accent
#D549DF
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3139AA

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

Preview Lab → · Contrast checker → · Palette generator →

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