#3147AA#3147AA

#3147AA is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.160 H 269.2°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#3147AA
RGBrgb(49, 71, 170)
HSLhsl(229, 55%, 43%)
HSVhsv(229, 71%, 67%)
CMYKcmyk(71.2%, 58.2%, 0%, 33.3%)
CIE-LABlab(34.11, 25.99, -55.65)
CIE-LCHlch(34.11, 61.42, 295.03°)
OKLaboklab(44.19% -0.0021 -0.1604)
OKLCHoklch(44.19% 0.16 269.2)
XYZxyz(10.7731, 8.0606, 39.0105)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3147AA #AA9431
analogous
#3183AA #3147AA #5731AA
triadic
#3147AA #AA3147 #47AA31
tetradic
#3147AA #AA3183 #AA9431 #31AA57
square
#3147AA #AA3183 #AA9431 #31AA57
split-complementary
#3147AA #AA5731 #83AA31
monochromatic
#161F4B #23337A #3147AA #4D64CC #7C8DD9

Accessibility & contrast

On white

8.04
#3147AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3147AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3147AA
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3147AA#FFFFFF#000000##FFFFFF
##3147AA1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AD
Deuteranopia (green-blind)
#004BA8
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3147aa;
/* rgb */ color: rgb(49, 71, 170);
/* oklch */ color: oklch(44.2% 0.160 269.2);
Tailwind
colors: {
  custom: {
    50: '#7979c4',
    500: '#3147aa',
    950: '#000000',
  },
}
SCSS
$custom: #3147aa;
$custom-light: #7979c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3147aa",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 229.091,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4419,
    "c": 0.16043,
    "h": 269.2
  },
  "luminance": 0.08062
}

Semantic roles & 50–950 ramp

primary
#3147AA
secondary
#C2B475
accent
#C349DF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3147AA

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

Preview Lab → · Contrast checker → · Palette generator →

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