#3134C5#3134C5

#3134C5 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.5% C 0.217 H 272.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#3134C5
RGBrgb(49, 52, 197)
HSLhsl(239, 60%, 48%)
HSVhsv(239, 75%, 77%)
CMYKcmyk(75.1%, 73.6%, 0%, 22.7%)
CIE-LABlab(32.12, 47.32, -74.88)
CIE-LCHlch(32.12, 88.58, 302.29°)
OKLaboklab(43.48% 0.0075 -0.2167)
OKLCHoklch(43.48% 0.217 272)
XYZxyz(12.5693, 7.1388, 53.5280)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3134C5 #C5C231
analogous
#317EC5 #3134C5 #7831C5
triadic
#3134C5 #C53134 #34C531
tetradic
#3134C5 #C5317E #C5C231 #31C578
square
#3134C5 #C5317E #C5C231 #31C578
split-complementary
#3134C5 #C57831 #7EC531
monochromatic
#191A63 #252794 #3134C5 #5D5FD7 #8E8FE3

Accessibility & contrast

On white

8.65
#3134C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3134C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3134C5#FFFFFF#000000##FFFFFF
##3134C51.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C9
Deuteranopia (green-blind)
#0044C2
Tritanopia (blue-blind)
#005E7A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3134c5;
/* rgb */ color: rgb(49, 52, 197);
/* oklch */ color: oklch(43.5% 0.217 272.0);
Tailwind
colors: {
  custom: {
    50: '#816dd8',
    500: '#3134c5',
    950: '#000000',
  },
}
SCSS
$custom: #3134c5;
$custom-light: #816dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3134c5",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 238.784,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.43484,
    "c": 0.21687,
    "h": 272
  },
  "luminance": 0.0714
}

Semantic roles & 50–950 ramp

primary
#3134C5
secondary
#CDCC85
accent
#E044E3
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0715
muted
#7D7A83

Preview Lab

Preview with #3134C5

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

Preview Lab → · Contrast checker → · Palette generator →

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