#3147A5#3147A5

#3147A5 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.153 H 269.1°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#3147A5
RGBrgb(49, 71, 165)
HSLhsl(229, 54%, 42%)
HSVhsv(229, 70%, 65%)
CMYKcmyk(70.3%, 57%, 0%, 35.3%)
CIE-LABlab(33.72, 24.13, -53.29)
CIE-LCHlch(33.72, 58.50, 294.36°)
OKLaboklab(43.78% -0.0023 -0.1535)
OKLCHoklch(43.78% 0.154 269.1)
XYZxyz(10.3091, 7.8750, 36.5668)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3147A5 #A58F31
analogous
#3181A5 #3147A5 #5531A5
triadic
#3147A5 #A53147 #47A531
tetradic
#3147A5 #A53181 #A58F31 #31A555
square
#3147A5 #A53181 #A58F31 #31A555
split-complementary
#3147A5 #A55531 #81A531
monochromatic
#151E47 #233376 #3147A5 #4A62C9 #798BD7

Accessibility & contrast

On white

8.15
#3147A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#3147A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3147A5#FFFFFF#000000##FFFFFF
##3147A51.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A8
Deuteranopia (green-blind)
#004AA3
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3147a5;
/* rgb */ color: rgb(49, 71, 165);
/* oklch */ color: oklch(43.8% 0.153 269.1);
Tailwind
colors: {
  custom: {
    50: '#7879c0',
    500: '#3147a5',
    950: '#000000',
  },
}
SCSS
$custom: #3147a5;
$custom-light: #7879c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3147a5",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 165
  },
  "hsl": {
    "h": 228.621,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43778,
    "c": 0.1535,
    "h": 269.1
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

primary
#3147A5
secondary
#C0B172
accent
#C24ADE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3147A5

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

Preview Lab → · Contrast checker → · Palette generator →

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