#3141AF#3141AF

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

Color values

HEX#3141AF
RGBrgb(49, 65, 175)
HSLhsl(232, 56%, 44%)
HSVhsv(232, 72%, 69%)
CMYKcmyk(72%, 62.9%, 0%, 31.4%)
CIE-LABlab(32.98, 31.75, -60.48)
CIE-LCHlch(32.98, 68.30, 297.70°)
OKLaboklab(43.48% 0.0024 -0.1746)
OKLCHoklch(43.48% 0.175 270.8)
XYZxyz(10.8922, 7.5276, 41.4281)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3141AF #AF9F31
analogous
#3180AF #3141AF #6031AF
triadic
#3141AF #AF3141 #41AF31
tetradic
#3141AF #AF3180 #AF9F31 #31AF60
square
#3141AF #AF3180 #AF9F31 #31AF60
split-complementary
#3141AF #AF6031 #80AF31
monochromatic
#161D4F #242F7F #3141AF #4F5FCE #7F8BDB

Accessibility & contrast

On white

8.38
#3141AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3141AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3141AF#FFFFFF#000000##FFFFFF
##3141AF1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3141af;
/* rgb */ color: rgb(49, 65, 175);
/* oklch */ color: oklch(43.5% 0.175 270.8);
Tailwind
colors: {
  custom: {
    50: '#7b75c8',
    500: '#3141af',
    950: '#000000',
  },
}
SCSS
$custom: #3141af;
$custom-light: #7b75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3141af",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 232.381,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43479,
    "c": 0.17467,
    "h": 270.8
  },
  "luminance": 0.07529
}

Semantic roles & 50–950 ramp

primary
#3141AF
secondary
#C4BA78
accent
#CC48E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3141AF

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

Preview Lab → · Contrast checker → · Palette generator →

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