#3142C0#3142C0

#3142C0 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.2% C 0.196 H 270.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#3142C0
RGBrgb(49, 66, 192)
HSLhsl(233, 59%, 47%)
HSVhsv(233, 74%, 75%)
CMYKcmyk(74.5%, 65.6%, 0%, 24.7%)
CIE-LABlab(34.71, 37.22, -67.69)
CIE-LCHlch(34.71, 77.25, 298.80°)
OKLaboklab(45.21% 0.0009 -0.1958)
OKLCHoklch(45.21% 0.196 270.2)
XYZxyz(12.7260, 8.3538, 50.8007)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3142C0 #C0AF31
analogous
#318AC0 #3142C0 #6731C0
triadic
#3142C0 #C03142 #42C031
tetradic
#3142C0 #C0318A #C0AF31 #31C067
square
#3142C0 #C0318A #C0AF31 #31C067
split-complementary
#3142C0 #C06731 #8AC031
monochromatic
#18205E #25318F #3142C0 #5968D5 #8A95E1

Accessibility & contrast

On white

7.86
#3142C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3142C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3142C0
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3142C0#FFFFFF#000000##FFFFFF
##3142C01.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#004BBE
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3142c0;
/* rgb */ color: rgb(49, 66, 192);
/* oklch */ color: oklch(45.2% 0.196 270.2);
Tailwind
colors: {
  custom: {
    50: '#7f76d4',
    500: '#3142c0',
    950: '#000000',
  },
}
SCSS
$custom: #3142c0;
$custom-light: #7f76d4;
$custom-dark: #000000;
JSON
{
  "hex": "#3142c0",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 192
  },
  "hsl": {
    "h": 232.867,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.45206,
    "c": 0.19577,
    "h": 270.2
  },
  "luminance": 0.08355
}

Semantic roles & 50–950 ramp

primary
#3142C0
secondary
#CBC282
accent
#D045E3
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3142C0

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

Preview Lab → · Contrast checker → · Palette generator →

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