#3141AC#3141AC

#3141AC is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.2% C 0.171 H 270.8°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#3141AC
RGBrgb(49, 65, 172)
HSLhsl(232, 56%, 43%)
HSVhsv(232, 72%, 67%)
CMYKcmyk(71.5%, 62.2%, 0%, 32.5%)
CIE-LABlab(32.73, 30.66, -59.10)
CIE-LCHlch(32.73, 66.58, 297.42°)
OKLaboklab(43.21% 0.0025 -0.1706)
OKLCHoklch(43.21% 0.171 270.8)
XYZxyz(10.6008, 7.4111, 39.8935)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3141AC #AC9C31
analogous
#317EAC #3141AC #5E31AC
triadic
#3141AC #AC3141 #41AC31
tetradic
#3141AC #AC317E #AC9C31 #31AC5E
square
#3141AC #AC317E #AC9C31 #31AC5E
split-complementary
#3141AC #AC5E31 #7EAC31
monochromatic
#161D4D #232F7C #3141AC #4E5ECC #7D89DA

Accessibility & contrast

On white

8.46
#3141AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3141AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3141AC#FFFFFF#000000##FFFFFF
##3141AC1.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#0047AA
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3141ac;
/* rgb */ color: rgb(49, 65, 172);
/* oklch */ color: oklch(43.2% 0.171 270.8);
Tailwind
colors: {
  custom: {
    50: '#7a75c6',
    500: '#3141ac',
    950: '#000000',
  },
}
SCSS
$custom: #3141ac;
$custom-light: #7a75c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3141ac",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 232.195,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43213,
    "c": 0.17064,
    "h": 270.8
  },
  "luminance": 0.07412
}

Semantic roles & 50–950 ramp

primary
#3141AC
secondary
#C3B976
accent
#CB49DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3141AC

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

Preview Lab → · Contrast checker → · Palette generator →

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