#3134AB#3134AB

#3134AB is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.9% C 0.185 H 273.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#3134AB
RGBrgb(49, 52, 171)
HSLhsl(239, 55%, 43%)
HSVhsv(239, 71%, 67%)
CMYKcmyk(71.3%, 69.6%, 0%, 32.9%)
CIE-LABlab(29.53, 38.53, -63.73)
CIE-LCHlch(29.53, 74.48, 301.16°)
OKLaboklab(40.86% 0.0114 -0.1842)
OKLCHoklch(40.86% 0.185 273.5)
XYZxyz(9.8428, 6.0483, 39.1689)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3134AB #ABA831
analogous
#3171AB #3134AB #6B31AB
triadic
#3134AB #AB3134 #34AB31
tetradic
#3134AB #AB3171 #ABA831 #31AB6B
square
#3134AB #AB3171 #ABA831 #31AB6B
split-complementary
#3134AB #AB6B31 #71AB31
monochromatic
#16174C #23267B #3134AB #4D50CC #7D7FDA

Accessibility & contrast

On white

9.50
#3134AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3134AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3134AB
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3134AB#FFFFFF#000000##FFFFFF
##3134AB1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3134ab;
/* rgb */ color: rgb(49, 52, 171);
/* oklch */ color: oklch(40.9% 0.185 273.5);
Tailwind
colors: {
  custom: {
    50: '#7b6cc5',
    500: '#3134ab',
    950: '#000000',
  },
}
SCSS
$custom: #3134ab;
$custom-light: #7b6cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3134ab",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 238.525,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40855,
    "c": 0.1846,
    "h": 273.5
  },
  "luminance": 0.06049
}

Semantic roles & 50–950 ramp

primary
#3134AB
secondary
#C2C075
accent
#DB49DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3134AB

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

Preview Lab → · Contrast checker → · Palette generator →

#3134AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva