#3139AC#3139AC

#3139AC is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.180 H 272.6°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#3139AC
RGBrgb(49, 57, 172)
HSLhsl(236, 56%, 43%)
HSVhsv(236, 72%, 67%)
CMYKcmyk(71.5%, 66.9%, 0%, 32.5%)
CIE-LABlab(30.78, 35.78, -62.29)
CIE-LCHlch(30.78, 71.84, 299.87°)
OKLaboklab(41.78% 0.0081 -0.18)
OKLCHoklch(41.78% 0.18 272.6)
XYZxyz(10.1736, 6.5568, 39.7512)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3139AC #ACA431
analogous
#3176AC #3139AC #6731AC
triadic
#3139AC #AC3139 #39AC31
tetradic
#3139AC #AC3176 #ACA431 #31AC67
square
#3139AC #AC3176 #ACA431 #31AC67
split-complementary
#3139AC #AC6731 #76AC31
monochromatic
#16194D #23297C #3139AC #4E56CC #7D83DA

Accessibility & contrast

On white

9.08
#3139AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3139AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3139AC#FFFFFF#000000##FFFFFF
##3139AC1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB0
Deuteranopia (green-blind)
#0043AA
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3139ac;
/* rgb */ color: rgb(49, 57, 172);
/* oklch */ color: oklch(41.8% 0.180 272.6);
Tailwind
colors: {
  custom: {
    50: '#7b70c6',
    500: '#3139ac',
    950: '#000000',
  },
}
SCSS
$custom: #3139ac;
$custom-light: #7b70c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3139ac",
  "rgb": {
    "r": 49,
    "g": 57,
    "b": 172
  },
  "hsl": {
    "h": 236.098,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.41784,
    "c": 0.1802,
    "h": 272.6
  },
  "luminance": 0.06558
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3139AC

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

Preview Lab → · Contrast checker → · Palette generator →

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