#3141BC#3141BC

#3141BC is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.7% C 0.192 H 270.5°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#3141BC
RGBrgb(49, 65, 188)
HSLhsl(233, 59%, 46%)
HSVhsv(233, 74%, 74%)
CMYKcmyk(73.9%, 65.4%, 0%, 26.3%)
CIE-LABlab(34.11, 36.42, -66.32)
CIE-LCHlch(34.11, 75.66, 298.78°)
OKLaboklab(44.66% 0.0017 -0.1917)
OKLCHoklch(44.66% 0.192 270.5)
XYZxyz(12.2309, 8.0631, 48.4789)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3141BC #BCAC31
analogous
#3187BC #3141BC #6731BC
triadic
#3141BC #BC3141 #41BC31
tetradic
#3141BC #BC3187 #BCAC31 #31BC67
square
#3141BC #BC3187 #BCAC31 #31BC67
split-complementary
#3141BC #BC6731 #87BC31
monochromatic
#181F5B #24308B #3141BC #5765D3 #8892E0

Accessibility & contrast

On white

8.04
#3141BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3141BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3141BC
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3141BC#FFFFFF#000000##FFFFFF
##3141BC1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#004ABA
Tritanopia (blue-blind)
#006279
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3141bc;
/* rgb */ color: rgb(49, 65, 188);
/* oklch */ color: oklch(44.7% 0.192 270.5);
Tailwind
colors: {
  custom: {
    50: '#7e75d1',
    500: '#3141bc',
    950: '#000000',
  },
}
SCSS
$custom: #3141bc;
$custom-light: #7e75d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3141bc",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 233.094,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44662,
    "c": 0.19176,
    "h": 270.5
  },
  "luminance": 0.08064
}

Semantic roles & 50–950 ramp

primary
#3141BC
secondary
#CAC17F
accent
#D046E2
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #3141BC

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

Preview Lab → · Contrast checker → · Palette generator →

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