#3141AE#3141AE

#3141AE is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.4% C 0.173 H 270.8°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#3141AE
RGBrgb(49, 65, 174)
HSLhsl(232, 56%, 44%)
HSVhsv(232, 72%, 68%)
CMYKcmyk(71.8%, 62.6%, 0%, 31.8%)
CIE-LABlab(32.89, 31.38, -60.02)
CIE-LCHlch(32.89, 67.73, 297.60°)
OKLaboklab(43.39% 0.0024 -0.1733)
OKLCHoklch(43.39% 0.173 270.8)
XYZxyz(10.7943, 7.4885, 40.9127)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3141AE #AE9E31
analogous
#317FAE #3141AE #5F31AE
triadic
#3141AE #AE3141 #41AE31
tetradic
#3141AE #AE317F #AE9E31 #31AE5F
square
#3141AE #AE317F #AE9E31 #31AE5F
split-complementary
#3141AE #AE5F31 #7FAE31
monochromatic
#161D4E #242F7E #3141AE #4F5FCD #7F8ADB

Accessibility & contrast

On white

8.41
#3141AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3141AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3141AE#FFFFFF#000000##FFFFFF
##3141AE1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3141ae;
/* rgb */ color: rgb(49, 65, 174);
/* oklch */ color: oklch(43.4% 0.173 270.8);
Tailwind
colors: {
  custom: {
    50: '#7b75c7',
    500: '#3141ae',
    950: '#000000',
  },
}
SCSS
$custom: #3141ae;
$custom-light: #7b75c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3141ae",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 174
  },
  "hsl": {
    "h": 232.32,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4339,
    "c": 0.17333,
    "h": 270.8
  },
  "luminance": 0.0749
}

Semantic roles & 50–950 ramp

primary
#3141AE
secondary
#C4BA77
accent
#CC48DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3141AE

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

Preview Lab → · Contrast checker → · Palette generator →

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