#3141C0#3141C0

#3141C0 is a mid, vivid blue. Relative luminance 0.082; OKLCH L 45.0% C 0.197 H 270.4°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#3141C0
RGBrgb(49, 65, 192)
HSLhsl(233, 59%, 47%)
HSVhsv(233, 74%, 75%)
CMYKcmyk(74.5%, 66.1%, 0%, 24.7%)
CIE-LABlab(34.47, 37.84, -68.08)
CIE-LCHlch(34.47, 77.89, 299.07°)
OKLaboklab(45.03% 0.0014 -0.1969)
OKLCHoklch(45.03% 0.197 270.4)
XYZxyz(12.6681, 8.2380, 50.7814)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3141C0 #C0B031
analogous
#3188C0 #3141C0 #6931C0
triadic
#3141C0 #C03141 #41C031
tetradic
#3141C0 #C03188 #C0B031 #31C069
square
#3141C0 #C03188 #C0B031 #31C069
split-complementary
#3141C0 #C06931 #88C031
monochromatic
#18205E #25308F #3141C0 #5967D5 #8A94E1

Accessibility & contrast

On white

7.93
#3141C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3141C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3141C0
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3141C0#FFFFFF#000000##FFFFFF
##3141C01.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#004ABE
Tritanopia (blue-blind)
#00637B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3141c0;
/* rgb */ color: rgb(49, 65, 192);
/* oklch */ color: oklch(45.0% 0.197 270.4);
Tailwind
colors: {
  custom: {
    50: '#7f76d4',
    500: '#3141c0',
    950: '#000000',
  },
}
SCSS
$custom: #3141c0;
$custom-light: #7f76d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3141c0",
  "rgb": {
    "r": 49,
    "g": 65,
    "b": 192
  },
  "hsl": {
    "h": 233.287,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45034,
    "c": 0.19691,
    "h": 270.4
  },
  "luminance": 0.08239
}

Semantic roles & 50–950 ramp

primary
#3141C0
secondary
#CBC382
accent
#D145E3
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3141C0

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

Preview Lab → · Contrast checker → · Palette generator →

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