#3139B8#3139B8

#3139B8 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.9% C 0.196 H 272.0°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#3139B8
RGBrgb(49, 57, 184)
HSLhsl(236, 58%, 46%)
HSVhsv(236, 73%, 72%)
CMYKcmyk(73.4%, 69%, 0%, 27.8%)
CIE-LABlab(31.89, 39.98, -67.60)
CIE-LCHlch(31.89, 78.54, 300.60°)
OKLaboklab(42.94% 0.0069 -0.1955)
OKLCHoklch(42.94% 0.196 272)
XYZxyz(11.3786, 7.0387, 46.0971)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3139B8 #B8B031
analogous
#317DB8 #3139B8 #6C31B8
triadic
#3139B8 #B83139 #39B831
tetradic
#3139B8 #B8317D #B8B031 #31B86C
square
#3139B8 #B8317D #B8B031 #31B86C
split-complementary
#3139B8 #B86C31 #7DB831
monochromatic
#171B57 #242A88 #3139B8 #555CD2 #858ADE

Accessibility & contrast

On white

8.72
#3139B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3139B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3139B8#FFFFFF#000000##FFFFFF
##3139B81.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3139b8;
/* rgb */ color: rgb(49, 57, 184);
/* oklch */ color: oklch(42.9% 0.196 272.0);
Tailwind
colors: {
  custom: {
    50: '#7d70ce',
    500: '#3139b8',
    950: '#000000',
  },
}
SCSS
$custom: #3139b8;
$custom-light: #7d70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3139b8",
  "rgb": {
    "r": 49,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 236.444,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.42936,
    "c": 0.19565,
    "h": 272
  },
  "luminance": 0.0704
}

Semantic roles & 50–950 ramp

primary
#3139B8
secondary
#C8C47D
accent
#D847E1
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3139B8

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

Preview Lab → · Contrast checker → · Palette generator →

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