#3141A0#3141A0

#3141A0 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.154 H 271.0°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#3141A0
RGBrgb(49, 65, 160)
HSLhsl(231, 53%, 41%)
HSVhsv(231, 69%, 63%)
CMYKcmyk(69.4%, 59.4%, 0%, 37.3%)
CIE-LABlab(31.74, 26.26, -53.50)
CIE-LCHlch(31.74, 59.60, 296.15°)
OKLaboklab(42.18% 0.0026 -0.1542)
OKLCHoklch(42.18% 0.154 271)
XYZxyz(9.4999, 6.9707, 34.0957)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3141A0 #A09031
analogous
#3178A0 #3141A0 #5831A0
triadic
#3141A0 #A03141 #41A031
tetradic
#3141A0 #A03178 #A09031 #31A058
square
#3141A0 #A03178 #A09031 #31A058
split-complementary
#3141A0 #A05831 #78A031
monochromatic
#141B42 #232E71 #3141A0 #475AC7 #7684D5

Accessibility & contrast

On white

8.77
#3141A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3141A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3141A0
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3141A0#FFFFFF#000000##FFFFFF
##3141A01.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A3
Deuteranopia (green-blind)
#00469E
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3141a0;
/* rgb */ color: rgb(49, 65, 160);
/* oklch */ color: oklch(42.2% 0.154 271.0);
Tailwind
colors: {
  custom: {
    50: '#7775bd',
    500: '#3141a0',
    950: '#000000',
  },
}
SCSS
$custom: #3141a0;
$custom-light: #7775bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3141a0",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 160
  },
  "hsl": {
    "h": 231.351,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42175,
    "c": 0.15419,
    "h": 271
  },
  "luminance": 0.06972
}

Semantic roles & 50–950 ramp

primary
#3141A0
secondary
#BDB270
accent
#C84BDD
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #3141A0

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

Preview Lab → · Contrast checker → · Palette generator →

#3141A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva