#3147A7#3147A7

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

Color values

HEX#3147A7
RGBrgb(49, 71, 167)
HSLhsl(229, 55%, 42%)
HSVhsv(229, 71%, 65%)
CMYKcmyk(70.7%, 57.5%, 0%, 34.5%)
CIE-LABlab(33.88, 24.88, -54.24)
CIE-LCHlch(33.88, 59.67, 294.64°)
OKLaboklab(43.94% -0.0022 -0.1563)
OKLCHoklch(43.94% 0.156 269.2)
XYZxyz(10.4925, 7.9484, 37.5330)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3147A7 #A79131
analogous
#3182A7 #3147A7 #5631A7
triadic
#3147A7 #A73147 #47A731
tetradic
#3147A7 #A73182 #A79131 #31A756
square
#3147A7 #A73182 #A79131 #31A756
split-complementary
#3147A7 #A75631 #82A731
monochromatic
#151F48 #233378 #3147A7 #4B63CA #7A8CD8

Accessibility & contrast

On white

8.11
#3147A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3147A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3147A7#FFFFFF#000000##FFFFFF
##3147A71.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3147a7;
/* rgb */ color: rgb(49, 71, 167);
/* oklch */ color: oklch(43.9% 0.156 269.2);
Tailwind
colors: {
  custom: {
    50: '#7879c2',
    500: '#3147a7',
    950: '#000000',
  },
}
SCSS
$custom: #3147a7;
$custom-light: #7879c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3147a7",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 167
  },
  "hsl": {
    "h": 228.814,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43942,
    "c": 0.15629,
    "h": 269.2
  },
  "luminance": 0.07949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3147A7

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

Preview Lab → · Contrast checker → · Palette generator →

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