#3134C1#3134C1

#3134C1 is a dark, highly saturated blue. Relative luminance 0.070; OKLCH L 43.1% C 0.212 H 272.2°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#3134C1
RGBrgb(49, 52, 193)
HSLhsl(239, 60%, 47%)
HSVhsv(239, 75%, 76%)
CMYKcmyk(74.6%, 73.1%, 0%, 24.3%)
CIE-LABlab(31.71, 45.99, -73.21)
CIE-LCHlch(31.71, 86.46, 302.14°)
OKLaboklab(43.07% 0.0082 -0.2119)
OKLCHoklch(43.07% 0.212 272.2)
XYZxyz(12.1170, 6.9579, 51.1462)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3134C1 #C1BE31
analogous
#317CC1 #3134C1 #7631C1
triadic
#3134C1 #C13134 #34C131
tetradic
#3134C1 #C1317C #C1BE31 #31C176
square
#3134C1 #C1317C #C1BE31 #31C176
split-complementary
#3134C1 #C17631 #7CC131
monochromatic
#181A5F #252790 #3134C1 #5A5DD5 #8B8DE2

Accessibility & contrast

On white

8.78
#3134C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3134C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3134C1#FFFFFF#000000##FFFFFF
##3134C11.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C5
Deuteranopia (green-blind)
#0044BE
Tritanopia (blue-blind)
#005D77
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3134c1;
/* rgb */ color: rgb(49, 52, 193);
/* oklch */ color: oklch(43.1% 0.212 272.2);
Tailwind
colors: {
  custom: {
    50: '#806dd5',
    500: '#3134c1',
    950: '#000000',
  },
}
SCSS
$custom: #3134c1;
$custom-light: #806dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#3134c1",
  "rgb": {
    "r": 49,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 238.75,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.4307,
    "c": 0.21204,
    "h": 272.2
  },
  "luminance": 0.06959
}

Semantic roles & 50–950 ramp

primary
#3134C1
secondary
#CCCA82
accent
#DF45E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #3134C1

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

Preview Lab → · Contrast checker → · Palette generator →

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