#3139B3#3139B3

#3139B3 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.5% C 0.189 H 272.2°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#3139B3
RGBrgb(49, 57, 179)
HSLhsl(236, 57%, 45%)
HSVhsv(236, 73%, 70%)
CMYKcmyk(72.6%, 68.2%, 0%, 29.8%)
CIE-LABlab(31.42, 38.24, -65.41)
CIE-LCHlch(31.42, 75.77, 300.31°)
OKLaboklab(42.45% 0.0074 -0.1891)
OKLCHoklch(42.45% 0.189 272.2)
XYZxyz(10.8637, 6.8328, 43.3854)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3139B3 #B3AB31
analogous
#317AB3 #3139B3 #6A31B3
triadic
#3139B3 #B33139 #39B331
tetradic
#3139B3 #B3317A #B3AB31 #31B36A
square
#3139B3 #B3317A #B3AB31 #31B36A
split-complementary
#3139B3 #B36A31 #7AB331
monochromatic
#171A53 #242A83 #3139B3 #5259D0 #8287DD

Accessibility & contrast

On white

8.87
#3139B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3139B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3139B3#FFFFFF#000000##FFFFFF
##3139B31.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3139b3;
/* rgb */ color: rgb(49, 57, 179);
/* oklch */ color: oklch(42.5% 0.189 272.2);
Tailwind
colors: {
  custom: {
    50: '#7c70cb',
    500: '#3139b3',
    950: '#000000',
  },
}
SCSS
$custom: #3139b3;
$custom-light: #7c70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3139b3",
  "rgb": {
    "r": 49,
    "g": 57,
    "b": 179
  },
  "hsl": {
    "h": 236.308,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42451,
    "c": 0.18928,
    "h": 272.2
  },
  "luminance": 0.06834
}

Semantic roles & 50–950 ramp

primary
#3139B3
secondary
#C6C17A
accent
#D748E0
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3139B3

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

Preview Lab → · Contrast checker → · Palette generator →

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