#3142AE#3142AE

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

Color values

HEX#3142AE
RGBrgb(49, 66, 174)
HSLhsl(232, 56%, 44%)
HSVhsv(232, 72%, 68%)
CMYKcmyk(71.8%, 62.1%, 0%, 31.8%)
CIE-LABlab(33.14, 30.73, -59.61)
CIE-LCHlch(33.14, 67.07, 297.28°)
OKLaboklab(43.58% 0.0017 -0.1721)
OKLCHoklch(43.58% 0.172 270.6)
XYZxyz(10.8522, 7.6043, 40.9320)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3142AE #AE9D31
analogous
#3180AE #3142AE #5E31AE
triadic
#3142AE #AE3142 #42AE31
tetradic
#3142AE #AE3180 #AE9D31 #31AE5E
square
#3142AE #AE3180 #AE9D31 #31AE5E
split-complementary
#3142AE #AE5E31 #80AE31
monochromatic
#161E4E #24307E #3142AE #4F60CD #7F8BDB

Accessibility & contrast

On white

8.33
#3142AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3142AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3142AE#FFFFFF#000000##FFFFFF
##3142AE1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3142ae;
/* rgb */ color: rgb(49, 66, 174);
/* oklch */ color: oklch(43.6% 0.172 270.6);
Tailwind
colors: {
  custom: {
    50: '#7a76c7',
    500: '#3142ae',
    950: '#000000',
  },
}
SCSS
$custom: #3142ae;
$custom-light: #7a76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3142ae",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 231.84,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43575,
    "c": 0.17211,
    "h": 270.6
  },
  "luminance": 0.07605
}

Semantic roles & 50–950 ramp

primary
#3142AE
secondary
#C4B977
accent
#CB48DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3142AE

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

Preview Lab → · Contrast checker → · Palette generator →

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