#3141AA#3141AA

#3141AA is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.0% C 0.168 H 270.9°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#3141AA
RGBrgb(49, 65, 170)
HSLhsl(232, 55%, 43%)
HSVhsv(232, 71%, 67%)
CMYKcmyk(71.2%, 61.8%, 0%, 33.3%)
CIE-LABlab(32.56, 29.93, -58.18)
CIE-LCHlch(32.56, 65.43, 297.22°)
OKLaboklab(43.04% 0.0025 -0.1679)
OKLCHoklch(43.04% 0.168 270.9)
XYZxyz(10.4102, 7.3348, 38.8896)
Luminance0.0734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3141AA #AA9A31
analogous
#317DAA #3141AA #5D31AA
triadic
#3141AA #AA3141 #41AA31
tetradic
#3141AA #AA317D #AA9A31 #31AA5D
square
#3141AA #AA317D #AA9A31 #31AA5D
split-complementary
#3141AA #AA5D31 #7DAA31
monochromatic
#161D4B #232F7A #3141AA #4D5DCC #7C88D9

Accessibility & contrast

On white

8.51
#3141AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#3141AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3141AA#FFFFFF#000000##FFFFFF
##3141AA1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#0047A8
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3141aa;
/* rgb */ color: rgb(49, 65, 170);
/* oklch */ color: oklch(43.0% 0.168 270.9);
Tailwind
colors: {
  custom: {
    50: '#7a75c4',
    500: '#3141aa',
    950: '#000000',
  },
}
SCSS
$custom: #3141aa;
$custom-light: #7a75c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3141aa",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 232.066,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43037,
    "c": 0.16794,
    "h": 270.9
  },
  "luminance": 0.07336
}

Semantic roles & 50–950 ramp

primary
#3141AA
secondary
#C2B875
accent
#CB49DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #3141AA

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

Preview Lab → · Contrast checker → · Palette generator →

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