#3134BF#3134BF

#3134BF is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 42.9% C 0.210 H 272.3°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#3134BF
RGBrgb(49, 52, 191)
HSLhsl(239, 59%, 47%)
HSVhsv(239, 74%, 75%)
CMYKcmyk(74.3%, 72.8%, 0%, 25.1%)
CIE-LABlab(31.51, 45.33, -72.37)
CIE-LCHlch(31.51, 85.39, 302.06°)
OKLaboklab(42.86% 0.0085 -0.2094)
OKLCHoklch(42.86% 0.21 272.3)
XYZxyz(11.8954, 6.8693, 49.9791)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3134BF #BFBC31
analogous
#317BBF #3134BF #7531BF
triadic
#3134BF #BF3134 #34BF31
tetradic
#3134BF #BF317B #BFBC31 #31BF75
square
#3134BF #BF317B #BFBC31 #31BF75
split-complementary
#3134BF #BF7531 #7BBF31
monochromatic
#18195E #25278E #3134BF #595BD4 #8A8BE1

Accessibility & contrast

On white

8.85
#3134BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3134BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3134BF
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3134BF#FFFFFF#000000##FFFFFF
##3134BF1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C3
Deuteranopia (green-blind)
#0043BD
Tritanopia (blue-blind)
#005C76
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3134bf;
/* rgb */ color: rgb(49, 52, 191);
/* oklch */ color: oklch(42.9% 0.210 272.3);
Tailwind
colors: {
  custom: {
    50: '#806dd4',
    500: '#3134bf',
    950: '#000000',
  },
}
SCSS
$custom: #3134bf;
$custom-light: #806dd4;
$custom-dark: #000000;
JSON
{
  "hex": "#3134bf",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 238.732,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.42865,
    "c": 0.2096,
    "h": 272.3
  },
  "luminance": 0.06871
}

Semantic roles & 50–950 ramp

primary
#3134BF
secondary
#CBC981
accent
#DF45E2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3134BF

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

Preview Lab → · Contrast checker → · Palette generator →

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