#3139BB#3139BB

#3139BB is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.2% C 0.199 H 271.9°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#3139BB
RGBrgb(49, 57, 187)
HSLhsl(237, 58%, 46%)
HSVhsv(237, 74%, 73%)
CMYKcmyk(73.8%, 69.5%, 0%, 26.7%)
CIE-LABlab(32.18, 41.02, -68.90)
CIE-LCHlch(32.18, 80.19, 300.77°)
OKLaboklab(43.23% 0.0065 -0.1993)
OKLCHoklch(43.23% 0.199 271.9)
XYZxyz(11.6964, 7.1659, 47.7708)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3139BB #BBB331
analogous
#317EBB #3139BB #6E31BB
triadic
#3139BB #BB3139 #39BB31
tetradic
#3139BB #BB317E #BBB331 #31BB6E
square
#3139BB #BB317E #BBB331 #31BB6E
split-complementary
#3139BB #BB6E31 #7EBB31
monochromatic
#181B5A #242A8B #3139BB #565ED3 #878CE0

Accessibility & contrast

On white

8.63
#3139BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3139BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3139BB
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3139BB#FFFFFF#000000##FFFFFF
##3139BB1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BF
Deuteranopia (green-blind)
#0045B9
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3139bb;
/* rgb */ color: rgb(49, 57, 187);
/* oklch */ color: oklch(43.2% 0.199 271.9);
Tailwind
colors: {
  custom: {
    50: '#7e70d1',
    500: '#3139bb',
    950: '#000000',
  },
}
SCSS
$custom: #3139bb;
$custom-light: #7e70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3139bb",
  "rgb": {
    "r": 49,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 236.522,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.4323,
    "c": 0.19944,
    "h": 271.9
  },
  "luminance": 0.07167
}

Semantic roles & 50–950 ramp

primary
#3139BB
secondary
#C9C57F
accent
#D946E2
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3139BB

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

Preview Lab → · Contrast checker → · Palette generator →

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