#3140C0#3140C0

#3140C0 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.9% C 0.198 H 270.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#3140C0
RGBrgb(49, 64, 192)
HSLhsl(234, 59%, 47%)
HSVhsv(234, 74%, 75%)
CMYKcmyk(74.5%, 66.7%, 0%, 24.7%)
CIE-LABlab(34.24, 38.47, -68.46)
CIE-LCHlch(34.24, 78.53, 299.33°)
OKLaboklab(44.86% 0.002 -0.198)
OKLCHoklch(44.86% 0.198 270.6)
XYZxyz(12.6112, 8.1242, 50.7624)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3140C0 #C0B131
analogous
#3188C0 #3140C0 #6931C0
triadic
#3140C0 #C03140 #40C031
tetradic
#3140C0 #C03188 #C0B131 #31C069
square
#3140C0 #C03188 #C0B131 #31C069
split-complementary
#3140C0 #C06931 #88C031
monochromatic
#181F5E #25308F #3140C0 #5966D5 #8A93E1

Accessibility & contrast

On white

8.00
#3140C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3140C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3140C0
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3140C0#FFFFFF#000000##FFFFFF
##3140C01.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#004ABE
Tritanopia (blue-blind)
#00627A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3140c0;
/* rgb */ color: rgb(49, 64, 192);
/* oklch */ color: oklch(44.9% 0.198 270.6);
Tailwind
colors: {
  custom: {
    50: '#7f75d4',
    500: '#3140c0',
    950: '#000000',
  },
}
SCSS
$custom: #3140c0;
$custom-light: #7f75d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3140c0",
  "rgb": {
    "r": 49,
    "g": 64,
    "b": 192
  },
  "hsl": {
    "h": 233.706,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44864,
    "c": 0.19804,
    "h": 270.6
  },
  "luminance": 0.08126
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3140C0

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

Preview Lab → · Contrast checker → · Palette generator →

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