#3142BD#3142BD

#3142BD is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.9% C 0.192 H 270.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#3142BD
RGBrgb(49, 66, 189)
HSLhsl(233, 59%, 47%)
HSVhsv(233, 74%, 74%)
CMYKcmyk(74.1%, 65.1%, 0%, 25.9%)
CIE-LABlab(34.44, 36.15, -66.37)
CIE-LCHlch(34.44, 75.57, 298.58°)
OKLaboklab(44.93% 0.001 -0.1919)
OKLCHoklch(44.93% 0.192 270.3)
XYZxyz(12.3970, 8.2222, 49.0679)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3142BD #BDAC31
analogous
#3188BD #3142BD #6631BD
triadic
#3142BD #BD3142 #42BD31
tetradic
#3142BD #BD3188 #BDAC31 #31BD66
square
#3142BD #BD3188 #BDAC31 #31BD66
split-complementary
#3142BD #BD6631 #88BD31
monochromatic
#18205C #24318C #3142BD #5867D4 #8893E0

Accessibility & contrast

On white

7.94
#3142BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3142BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3142BD#FFFFFF#000000##FFFFFF
##3142BD1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C1
Deuteranopia (green-blind)
#004ABB
Tritanopia (blue-blind)
#006279
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3142bd;
/* rgb */ color: rgb(49, 66, 189);
/* oklch */ color: oklch(44.9% 0.192 270.3);
Tailwind
colors: {
  custom: {
    50: '#7e76d2',
    500: '#3142bd',
    950: '#000000',
  },
}
SCSS
$custom: #3142bd;
$custom-light: #7e76d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3142bd",
  "rgb": {
    "r": 49,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 232.714,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.44928,
    "c": 0.1919,
    "h": 270.3
  },
  "luminance": 0.08224
}

Semantic roles & 50–950 ramp

primary
#3142BD
secondary
#CAC180
accent
#CF46E2
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #3142BD

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

Preview Lab → · Contrast checker → · Palette generator →

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