#3134AD#3134AD

#3134AD is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.1% C 0.187 H 273.4°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#3134AD
RGBrgb(49, 52, 173)
HSLhsl(239, 56%, 44%)
HSVhsv(239, 72%, 68%)
CMYKcmyk(71.7%, 69.9%, 0%, 32.2%)
CIE-LABlab(29.73, 39.22, -64.62)
CIE-LCHlch(29.73, 75.59, 301.26°)
OKLaboklab(41.05% 0.0112 -0.1868)
OKLCHoklch(41.05% 0.187 273.4)
XYZxyz(10.0349, 6.1251, 40.1805)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3134AD #ADAA31
analogous
#3172AD #3134AD #6C31AD
triadic
#3134AD #AD3134 #34AD31
tetradic
#3134AD #AD3172 #ADAA31 #31AD6C
square
#3134AD #AD3172 #ADAA31 #31AD6C
split-complementary
#3134AD #AD6C31 #72AD31
monochromatic
#16174E #23267D #3134AD #4E51CD #7E80DA

Accessibility & contrast

On white

9.44
#3134AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3134AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3134AD
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3134AD#FFFFFF#000000##FFFFFF
##3134AD1.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB1
Deuteranopia (green-blind)
#0040AB
Tritanopia (blue-blind)
#00556C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3134ad;
/* rgb */ color: rgb(49, 52, 173);
/* oklch */ color: oklch(41.1% 0.187 273.4);
Tailwind
colors: {
  custom: {
    50: '#7b6cc7',
    500: '#3134ad',
    950: '#000000',
  },
}
SCSS
$custom: #3134ad;
$custom-light: #7b6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3134ad",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 173
  },
  "hsl": {
    "h": 238.548,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41052,
    "c": 0.18716,
    "h": 273.4
  },
  "luminance": 0.06126
}

Semantic roles & 50–950 ramp

primary
#3134AD
secondary
#C3C177
accent
#DC49DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3134AD

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

Preview Lab → · Contrast checker → · Palette generator →

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