#3139B5#3139B5

#3139B5 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.6% C 0.192 H 272.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#3139B5
RGBrgb(49, 57, 181)
HSLhsl(236, 57%, 45%)
HSVhsv(236, 73%, 71%)
CMYKcmyk(72.9%, 68.5%, 0%, 29%)
CIE-LABlab(31.61, 38.94, -66.29)
CIE-LCHlch(31.61, 76.88, 300.43°)
OKLaboklab(42.64% 0.0072 -0.1917)
OKLCHoklch(42.64% 0.192 272.1)
XYZxyz(11.0674, 6.9143, 44.4584)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3139B5 #B5AD31
analogous
#317BB5 #3139B5 #6B31B5
triadic
#3139B5 #B53139 #39B531
tetradic
#3139B5 #B5317B #B5AD31 #31B56B
square
#3139B5 #B5317B #B5AD31 #31B56B
split-complementary
#3139B5 #B56B31 #7BB531
monochromatic
#171B55 #242A85 #3139B5 #535AD0 #8388DD

Accessibility & contrast

On white

8.81
#3139B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3139B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3139B5#FFFFFF#000000##FFFFFF
##3139B51.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#0044B3
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3139b5;
/* rgb */ color: rgb(49, 57, 181);
/* oklch */ color: oklch(42.6% 0.192 272.1);
Tailwind
colors: {
  custom: {
    50: '#7d70cc',
    500: '#3139b5',
    950: '#000000',
  },
}
SCSS
$custom: #3139b5;
$custom-light: #7d70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3139b5",
  "rgb": {
    "r": 49,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 236.364,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42644,
    "c": 0.19183,
    "h": 272.1
  },
  "luminance": 0.06915
}

Semantic roles & 50–950 ramp

primary
#3139B5
secondary
#C7C27B
accent
#D747E1
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3139B5

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

Preview Lab → · Contrast checker → · Palette generator →

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