#3134AE#3134AE

#3134AE is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.2% C 0.188 H 273.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#3134AE
RGBrgb(49, 52, 174)
HSLhsl(239, 56%, 44%)
HSVhsv(239, 72%, 68%)
CMYKcmyk(71.8%, 70.1%, 0%, 31.8%)
CIE-LABlab(29.82, 39.57, -65.06)
CIE-LCHlch(29.82, 76.14, 301.31°)
OKLaboklab(41.15% 0.011 -0.1881)
OKLCHoklch(41.15% 0.188 273.4)
XYZxyz(10.1320, 6.1639, 40.6920)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3134AE #AEAB31
analogous
#3172AE #3134AE #6C31AE
triadic
#3134AE #AE3134 #34AE31
tetradic
#3134AE #AE3172 #AEAB31 #31AE6C
square
#3134AE #AE3172 #AEAB31 #31AE6C
split-complementary
#3134AE #AE6C31 #72AE31
monochromatic
#16174E #24267E #3134AE #4F52CD #7F81DB

Accessibility & contrast

On white

9.40
#3134AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3134AE
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3134AE#FFFFFF#000000##FFFFFF
##3134AE1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB2
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#00566D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3134ae;
/* rgb */ color: rgb(49, 52, 174);
/* oklch */ color: oklch(41.2% 0.188 273.4);
Tailwind
colors: {
  custom: {
    50: '#7c6cc7',
    500: '#3134ae',
    950: '#000000',
  },
}
SCSS
$custom: #3134ae;
$custom-light: #7c6cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#3134ae",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 174
  },
  "hsl": {
    "h": 238.56,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41151,
    "c": 0.18843,
    "h": 273.4
  },
  "luminance": 0.06165
}

Semantic roles & 50–950 ramp

primary
#3134AE
secondary
#C4C277
accent
#DC48DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3134AE

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

Preview Lab → · Contrast checker → · Palette generator →

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