#3141BA#3141BA

#3141BA is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.5% C 0.189 H 270.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#3141BA
RGBrgb(49, 65, 186)
HSLhsl(233, 58%, 46%)
HSVhsv(233, 74%, 73%)
CMYKcmyk(73.7%, 65.1%, 0%, 27.1%)
CIE-LABlab(33.94, 35.71, -65.43)
CIE-LCHlch(33.94, 74.54, 298.62°)
OKLaboklab(44.48% 0.0019 -0.1892)
OKLCHoklch(44.48% 0.189 270.6)
XYZxyz(12.0168, 7.9775, 47.3514)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3141BA #BAAA31
analogous
#3185BA #3141BA #6531BA
triadic
#3141BA #BA3141 #41BA31
tetradic
#3141BA #BA3185 #BAAA31 #31BA65
square
#3141BA #BA3185 #BAAA31 #31BA65
split-complementary
#3141BA #BA6531 #85BA31
monochromatic
#171F59 #24308A #3141BA #5664D2 #8691DF

Accessibility & contrast

On white

8.09
#3141BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3141BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3141BA#FFFFFF#000000##FFFFFF
##3141BA1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3141ba;
/* rgb */ color: rgb(49, 65, 186);
/* oklch */ color: oklch(44.5% 0.189 270.6);
Tailwind
colors: {
  custom: {
    50: '#7d75d0',
    500: '#3141ba',
    950: '#000000',
  },
}
SCSS
$custom: #3141ba;
$custom-light: #7d75d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3141ba",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 186
  },
  "hsl": {
    "h": 232.993,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44477,
    "c": 0.18917,
    "h": 270.6
  },
  "luminance": 0.07979
}

Semantic roles & 50–950 ramp

primary
#3141BA
secondary
#C9C07E
accent
#CF46E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3141BA

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

Preview Lab → · Contrast checker → · Palette generator →

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