#3139B6#3139B6

#3139B6 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.193 H 272.1°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#3139B6
RGBrgb(49, 57, 182)
HSLhsl(236, 58%, 45%)
HSVhsv(236, 73%, 71%)
CMYKcmyk(73.1%, 68.7%, 0%, 28.6%)
CIE-LABlab(31.71, 39.29, -66.73)
CIE-LCHlch(31.71, 77.43, 300.49°)
OKLaboklab(42.74% 0.0071 -0.193)
OKLCHoklch(42.74% 0.193 272.1)
XYZxyz(11.1704, 6.9555, 45.0007)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3139B6 #B6AE31
analogous
#317BB6 #3139B6 #6B31B6
triadic
#3139B6 #B63139 #39B631
tetradic
#3139B6 #B6317B #B6AE31 #31B66B
square
#3139B6 #B6317B #B6AE31 #31B66B
split-complementary
#3139B6 #B66B31 #7BB631
monochromatic
#171B56 #242A86 #3139B6 #535BD1 #8489DE

Accessibility & contrast

On white

8.78
#3139B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3139B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3139B6#FFFFFF#000000##FFFFFF
##3139B61.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0044B4
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3139b6;
/* rgb */ color: rgb(49, 57, 182);
/* oklch */ color: oklch(42.7% 0.193 272.1);
Tailwind
colors: {
  custom: {
    50: '#7d70cd',
    500: '#3139b6',
    950: '#000000',
  },
}
SCSS
$custom: #3139b6;
$custom-light: #7d70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3139b6",
  "rgb": {
    "r": 49,
    "g": 57,
    "b": 182
  },
  "hsl": {
    "h": 236.391,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42741,
    "c": 0.19311,
    "h": 272.1
  },
  "luminance": 0.06957
}

Semantic roles & 50–950 ramp

primary
#3139B6
secondary
#C7C37C
accent
#D847E1
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3139B6

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

Preview Lab → · Contrast checker → · Palette generator →

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