#3143BA#3143BA

#3143BA is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.8% C 0.187 H 270.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#3143BA
RGBrgb(49, 67, 186)
HSLhsl(232, 58%, 46%)
HSVhsv(232, 74%, 73%)
CMYKcmyk(73.7%, 64%, 0%, 27.1%)
CIE-LABlab(34.42, 34.44, -64.64)
CIE-LCHlch(34.42, 73.24, 298.05°)
OKLaboklab(44.83% 0.0006 -0.1868)
OKLCHoklch(44.83% 0.187 270.2)
XYZxyz(12.1337, 8.2112, 47.3903)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3143BA #BAA831
analogous
#3187BA #3143BA #6331BA
triadic
#3143BA #BA3143 #43BA31
tetradic
#3143BA #BA3187 #BAA831 #31BA63
square
#3143BA #BA3187 #BAA831 #31BA63
split-complementary
#3143BA #BA6331 #87BA31
monochromatic
#172059 #24328A #3143BA #5666D2 #8692DF

Accessibility & contrast

On white

7.95
#3143BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3143BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3143BA
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3143BA#FFFFFF#000000##FFFFFF
##3143BA1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#006278
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3143ba;
/* rgb */ color: rgb(49, 67, 186);
/* oklch */ color: oklch(44.8% 0.187 270.2);
Tailwind
colors: {
  custom: {
    50: '#7d77d0',
    500: '#3143ba',
    950: '#000000',
  },
}
SCSS
$custom: #3143ba;
$custom-light: #7d77d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3143ba",
  "rgb": {
    "r": 49,
    "g": 67,
    "b": 186
  },
  "hsl": {
    "h": 232.117,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44831,
    "c": 0.18683,
    "h": 270.2
  },
  "luminance": 0.08212
}

Semantic roles & 50–950 ramp

primary
#3143BA
secondary
#C9BF7E
accent
#CD46E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #3143BA

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

Preview Lab → · Contrast checker → · Palette generator →

#3143BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva