#3142B0#3142B0

#3142B0 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.8% C 0.175 H 270.5°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#3142B0
RGBrgb(49, 66, 176)
HSLhsl(232, 56%, 44%)
HSVhsv(232, 72%, 69%)
CMYKcmyk(72.2%, 62.5%, 0%, 31%)
CIE-LABlab(33.31, 31.46, -60.53)
CIE-LCHlch(33.31, 68.21, 297.47°)
OKLaboklab(43.75% 0.0016 -0.1748)
OKLCHoklch(43.75% 0.175 270.5)
XYZxyz(11.0486, 7.6829, 41.9665)
Luminance0.0768 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3142B0 #B09F31
analogous
#3181B0 #3142B0 #6031B0
triadic
#3142B0 #B03142 #42B031
tetradic
#3142B0 #B03181 #B09F31 #31B060
square
#3142B0 #B03181 #B09F31 #31B060
split-complementary
#3142B0 #B06031 #81B031
monochromatic
#161E50 #243080 #3142B0 #5061CE #808CDC

Accessibility & contrast

On white

8.28
#3142B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3142B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3142B0
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3142B0#FFFFFF#000000##FFFFFF
##3142B01.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#0049AE
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3142b0;
/* rgb */ color: rgb(49, 66, 176);
/* oklch */ color: oklch(43.8% 0.175 270.5);
Tailwind
colors: {
  custom: {
    50: '#7b76c9',
    500: '#3142b0',
    950: '#000000',
  },
}
SCSS
$custom: #3142b0;
$custom-light: #7b76c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3142b0",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 176
  },
  "hsl": {
    "h": 231.969,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43752,
    "c": 0.17479,
    "h": 270.5
  },
  "luminance": 0.07684
}

Semantic roles & 50–950 ramp

primary
#3142B0
secondary
#C5BA78
accent
#CB48E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3142B0

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

Preview Lab → · Contrast checker → · Palette generator →

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