#3142AA#3142AA

#3142AA is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.2% C 0.167 H 270.6°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#3142AA
RGBrgb(49, 66, 170)
HSLhsl(232, 55%, 43%)
HSVhsv(232, 71%, 67%)
CMYKcmyk(71.2%, 61.2%, 0%, 33.3%)
CIE-LABlab(32.81, 29.28, -57.77)
CIE-LCHlch(32.81, 64.76, 296.88°)
OKLaboklab(43.23% 0.0018 -0.1667)
OKLCHoklch(43.23% 0.167 270.6)
XYZxyz(10.4681, 7.4506, 38.9089)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3142AA #AA9931
analogous
#317EAA #3142AA #5C31AA
triadic
#3142AA #AA3142 #42AA31
tetradic
#3142AA #AA317E #AA9931 #31AA5C
square
#3142AA #AA317E #AA9931 #31AA5C
split-complementary
#3142AA #AA5C31 #7EAA31
monochromatic
#161D4B #23307A #3142AA #4D5ECC #7C89D9

Accessibility & contrast

On white

8.43
#3142AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3142AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3142AA#FFFFFF#000000##FFFFFF
##3142AA1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3142aa;
/* rgb */ color: rgb(49, 66, 170);
/* oklch */ color: oklch(43.2% 0.167 270.6);
Tailwind
colors: {
  custom: {
    50: '#7a76c4',
    500: '#3142aa',
    950: '#000000',
  },
}
SCSS
$custom: #3142aa;
$custom-light: #7a76c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3142aa",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 170
  },
  "hsl": {
    "h": 231.57,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43225,
    "c": 0.1667,
    "h": 270.6
  },
  "luminance": 0.07452
}

Semantic roles & 50–950 ramp

primary
#3142AA
secondary
#C2B775
accent
#CA49DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #3142AA

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

Preview Lab → · Contrast checker → · Palette generator →

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