#3142AD#3142AD

#3142AD is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.5% C 0.171 H 270.6°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#3142AD
RGBrgb(49, 66, 173)
HSLhsl(232, 56%, 44%)
HSVhsv(232, 72%, 68%)
CMYKcmyk(71.7%, 61.8%, 0%, 32.2%)
CIE-LABlab(33.06, 30.37, -59.15)
CIE-LCHlch(33.06, 66.49, 297.18°)
OKLaboklab(43.49% 0.0017 -0.1708)
OKLCHoklch(43.49% 0.171 270.6)
XYZxyz(10.7551, 7.5654, 40.4205)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3142AD #AD9C31
analogous
#3180AD #3142AD #5E31AD
triadic
#3142AD #AD3142 #42AD31
tetradic
#3142AD #AD3180 #AD9C31 #31AD5E
square
#3142AD #AD3180 #AD9C31 #31AD5E
split-complementary
#3142AD #AD5E31 #80AD31
monochromatic
#161E4E #23307D #3142AD #4E60CD #7E8BDA

Accessibility & contrast

On white

8.36
#3142AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3142AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3142AD
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3142AD#FFFFFF#000000##FFFFFF
##3142AD1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B0
Deuteranopia (green-blind)
#0048AB
Tritanopia (blue-blind)
#005D71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3142ad;
/* rgb */ color: rgb(49, 66, 173);
/* oklch */ color: oklch(43.5% 0.171 270.6);
Tailwind
colors: {
  custom: {
    50: '#7a76c6',
    500: '#3142ad',
    950: '#000000',
  },
}
SCSS
$custom: #3142ad;
$custom-light: #7a76c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3142ad",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 173
  },
  "hsl": {
    "h": 231.774,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43487,
    "c": 0.17076,
    "h": 270.6
  },
  "luminance": 0.07567
}

Semantic roles & 50–950 ramp

primary
#3142AD
secondary
#C3B977
accent
#CB49DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3142AD

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

Preview Lab → · Contrast checker → · Palette generator →

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