#3147A9#3147A9

#3147A9 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.1% C 0.159 H 269.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#3147A9
RGBrgb(49, 71, 169)
HSLhsl(229, 55%, 43%)
HSVhsv(229, 71%, 66%)
CMYKcmyk(71%, 58%, 0%, 33.7%)
CIE-LABlab(34.03, 25.62, -55.18)
CIE-LCHlch(34.03, 60.84, 294.90°)
OKLaboklab(44.11% -0.0022 -0.159)
OKLCHoklch(44.11% 0.159 269.2)
XYZxyz(10.6788, 8.0229, 38.5142)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3147A9 #A99331
analogous
#3183A9 #3147A9 #5731A9
triadic
#3147A9 #A93147 #47A931
tetradic
#3147A9 #A93183 #A99331 #31A957
square
#3147A9 #A93183 #A99331 #31A957
split-complementary
#3147A9 #A95731 #83A931
monochromatic
#151F4A #23337A #3147A9 #4C63CB #7C8DD9

Accessibility & contrast

On white

8.06
#3147A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3147A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3147A9#FFFFFF#000000##FFFFFF
##3147A91.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3147a9;
/* rgb */ color: rgb(49, 71, 169);
/* oklch */ color: oklch(44.1% 0.159 269.2);
Tailwind
colors: {
  custom: {
    50: '#7979c3',
    500: '#3147a9',
    950: '#000000',
  },
}
SCSS
$custom: #3147a9;
$custom-light: #7979c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3147a9",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 169
  },
  "hsl": {
    "h": 229,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44107,
    "c": 0.15905,
    "h": 269.2
  },
  "luminance": 0.08024
}

Semantic roles & 50–950 ramp

primary
#3147A9
secondary
#C1B374
accent
#C349DE
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3147A9

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

Preview Lab → · Contrast checker → · Palette generator →

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