#3141B9#3141B9

#3141B9 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.4% C 0.188 H 270.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#3141B9
RGBrgb(49, 65, 185)
HSLhsl(233, 58%, 46%)
HSVhsv(233, 74%, 73%)
CMYKcmyk(73.5%, 64.9%, 0%, 27.5%)
CIE-LABlab(33.85, 35.35, -64.98)
CIE-LCHlch(33.85, 73.98, 298.55°)
OKLaboklab(44.39% 0.0019 -0.1879)
OKLCHoklch(44.39% 0.188 270.6)
XYZxyz(11.9109, 7.9351, 46.7934)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3141B9 #B9A931
analogous
#3185B9 #3141B9 #6531B9
triadic
#3141B9 #B93141 #41B931
tetradic
#3141B9 #B93185 #B9A931 #31B965
square
#3141B9 #B93185 #B9A931 #31B965
split-complementary
#3141B9 #B96531 #85B931
monochromatic
#171F58 #243089 #3141B9 #5564D2 #8690DF

Accessibility & contrast

On white

8.12
#3141B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3141B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3141B9#FFFFFF#000000##FFFFFF
##3141B91.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0049B7
Tritanopia (blue-blind)
#006177
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3141b9;
/* rgb */ color: rgb(49, 65, 185);
/* oklch */ color: oklch(44.4% 0.188 270.6);
Tailwind
colors: {
  custom: {
    50: '#7d75cf',
    500: '#3141b9',
    950: '#000000',
  },
}
SCSS
$custom: #3141b9;
$custom-light: #7d75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3141b9",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 232.941,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.44385,
    "c": 0.18787,
    "h": 270.6
  },
  "luminance": 0.07936
}

Semantic roles & 50–950 ramp

primary
#3141B9
secondary
#C8C07D
accent
#CF46E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3141B9

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

Preview Lab → · Contrast checker → · Palette generator →

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