#3139B2#3139B2

#3139B2 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.4% C 0.188 H 272.3°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#3139B2
RGBrgb(49, 57, 178)
HSLhsl(236, 57%, 45%)
HSVhsv(236, 72%, 70%)
CMYKcmyk(72.5%, 68%, 0%, 30.2%)
CIE-LABlab(31.33, 37.89, -64.97)
CIE-LCHlch(31.33, 75.21, 300.25°)
OKLaboklab(42.36% 0.0075 -0.1878)
OKLCHoklch(42.36% 0.188 272.3)
XYZxyz(10.7629, 6.7925, 42.8547)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3139B2 #B2AA31
analogous
#317AB2 #3139B2 #6A31B2
triadic
#3139B2 #B23139 #39B231
tetradic
#3139B2 #B2317A #B2AA31 #31B26A
square
#3139B2 #B2317A #B2AA31 #31B26A
split-complementary
#3139B2 #B26A31 #7AB231
monochromatic
#171A52 #242A82 #3139B2 #5159CF #8187DC

Accessibility & contrast

On white

8.90
#3139B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3139B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3139B2
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3139B2#FFFFFF#000000##FFFFFF
##3139B21.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3139b2;
/* rgb */ color: rgb(49, 57, 178);
/* oklch */ color: oklch(42.4% 0.188 272.3);
Tailwind
colors: {
  custom: {
    50: '#7c70ca',
    500: '#3139b2',
    950: '#000000',
  },
}
SCSS
$custom: #3139b2;
$custom-light: #7c70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3139b2",
  "rgb": {
    "r": 49,
    "g": 57,
    "b": 178
  },
  "hsl": {
    "h": 236.279,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42355,
    "c": 0.18799,
    "h": 272.3
  },
  "luminance": 0.06794
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3139B2

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

Preview Lab → · Contrast checker → · Palette generator →

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