#3134BD#3134BD

#3134BD is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.7% C 0.207 H 272.4°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#3134BD
RGBrgb(49, 52, 189)
HSLhsl(239, 59%, 47%)
HSVhsv(239, 74%, 74%)
CMYKcmyk(74.1%, 72.5%, 0%, 25.9%)
CIE-LABlab(31.31, 44.66, -71.52)
CIE-LCHlch(31.31, 84.32, 301.98°)
OKLaboklab(42.66% 0.0088 -0.207)
OKLCHoklch(42.66% 0.207 272.4)
XYZxyz(11.6768, 6.7819, 48.8279)
Luminance0.0678 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3134BD #BDBA31
analogous
#317ABD #3134BD #7431BD
triadic
#3134BD #BD3134 #34BD31
tetradic
#3134BD #BD317A #BDBA31 #31BD74
square
#3134BD #BD317A #BDBA31 #31BD74
split-complementary
#3134BD #BD7431 #7ABD31
monochromatic
#18195C #24278C #3134BD #585AD4 #888AE0

Accessibility & contrast

On white

8.91
#3134BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3134BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3134BD
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3134BD#FFFFFF#000000##FFFFFF
##3134BD1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#0043BB
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3134bd;
/* rgb */ color: rgb(49, 52, 189);
/* oklch */ color: oklch(42.7% 0.207 272.4);
Tailwind
colors: {
  custom: {
    50: '#7f6dd2',
    500: '#3134bd',
    950: '#000000',
  },
}
SCSS
$custom: #3134bd;
$custom-light: #7f6dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#3134bd",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 238.714,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4266,
    "c": 0.20716,
    "h": 272.4
  },
  "luminance": 0.06783
}

Semantic roles & 50–950 ramp

primary
#3134BD
secondary
#CAC880
accent
#DF46E2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3134BD

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

Preview Lab → · Contrast checker → · Palette generator →

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