#3147A6#3147A6

#3147A6 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.155 H 269.2°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#3147A6
RGBrgb(49, 71, 166)
HSLhsl(229, 54%, 42%)
HSVhsv(229, 70%, 65%)
CMYKcmyk(70.5%, 57.2%, 0%, 34.9%)
CIE-LABlab(33.80, 24.50, -53.77)
CIE-LCHlch(33.80, 59.09, 294.50°)
OKLaboklab(43.86% -0.0023 -0.1549)
OKLCHoklch(43.86% 0.155 269.2)
XYZxyz(10.4004, 7.9116, 37.0480)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3147A6 #A69031
analogous
#3182A6 #3147A6 #5631A6
triadic
#3147A6 #A63147 #47A631
tetradic
#3147A6 #A63182 #A69031 #31A656
square
#3147A6 #A63182 #A69031 #31A656
split-complementary
#3147A6 #A65631 #82A631
monochromatic
#151F47 #233377 #3147A6 #4A62CA #7A8BD8

Accessibility & contrast

On white

8.13
#3147A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3147A6#FFFFFF#000000##FFFFFF
##3147A61.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3147a6;
/* rgb */ color: rgb(49, 71, 166);
/* oklch */ color: oklch(43.9% 0.155 269.2);
Tailwind
colors: {
  custom: {
    50: '#7879c1',
    500: '#3147a6',
    950: '#000000',
  },
}
SCSS
$custom: #3147a6;
$custom-light: #7879c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3147a6",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 166
  },
  "hsl": {
    "h": 228.718,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.4386,
    "c": 0.15489,
    "h": 269.2
  },
  "luminance": 0.07913
}

Semantic roles & 50–950 ramp

primary
#3147A6
secondary
#C0B273
accent
#C24ADE
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3147A6

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

Preview Lab → · Contrast checker → · Palette generator →

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