#3134AA#3134AA

#3134AA is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.8% C 0.183 H 273.6°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#3134AA
RGBrgb(49, 52, 170)
HSLhsl(239, 55%, 43%)
HSVhsv(239, 71%, 67%)
CMYKcmyk(71.2%, 69.4%, 0%, 33.3%)
CIE-LABlab(29.44, 38.19, -63.29)
CIE-LCHlch(29.44, 73.92, 301.11°)
OKLaboklab(40.76% 0.0116 -0.1829)
OKLCHoklch(40.76% 0.183 273.6)
XYZxyz(9.7479, 6.0103, 38.6688)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3134AA #AAA731
analogous
#3171AA #3134AA #6A31AA
triadic
#3134AA #AA3134 #34AA31
tetradic
#3134AA #AA3171 #AAA731 #31AA6A
square
#3134AA #AA3171 #AAA731 #31AA6A
split-complementary
#3134AA #AA6A31 #71AA31
monochromatic
#16174B #23257A #3134AA #4D50CC #7C7ED9

Accessibility & contrast

On white

9.54
#3134AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3134AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3134AA#FFFFFF#000000##FFFFFF
##3134AA1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#00546B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3134aa;
/* rgb */ color: rgb(49, 52, 170);
/* oklch */ color: oklch(40.8% 0.183 273.6);
Tailwind
colors: {
  custom: {
    50: '#7b6cc4',
    500: '#3134aa',
    950: '#000000',
  },
}
SCSS
$custom: #3134aa;
$custom-light: #7b6cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3134aa",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 238.512,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.40758,
    "c": 0.18331,
    "h": 273.6
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3134AA

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

Preview Lab → · Contrast checker → · Palette generator →

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