#3147A8#3147A8

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

Color values

HEX#3147A8
RGBrgb(49, 71, 168)
HSLhsl(229, 55%, 43%)
HSVhsv(229, 71%, 66%)
CMYKcmyk(70.8%, 57.7%, 0%, 34.1%)
CIE-LABlab(33.95, 25.25, -54.71)
CIE-LCHlch(33.95, 60.26, 294.77°)
OKLaboklab(44.02% -0.0022 -0.1577)
OKLCHoklch(44.02% 0.158 269.2)
XYZxyz(10.5853, 7.9855, 38.0217)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3147A8 #A89231
analogous
#3182A8 #3147A8 #5731A8
triadic
#3147A8 #A83147 #47A831
tetradic
#3147A8 #A83182 #A89231 #31A857
square
#3147A8 #A83182 #A89231 #31A857
split-complementary
#3147A8 #A85731 #82A831
monochromatic
#151F49 #233379 #3147A8 #4C63CB #7B8CD8

Accessibility & contrast

On white

8.09
#3147A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##3147A8#FFFFFF#000000##FFFFFF
##3147A81.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3147a8;
/* rgb */ color: rgb(49, 71, 168);
/* oklch */ color: oklch(44.0% 0.158 269.2);
Tailwind
colors: {
  custom: {
    50: '#7979c3',
    500: '#3147a8',
    950: '#000000',
  },
}
SCSS
$custom: #3147a8;
$custom-light: #7979c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3147a8",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 168
  },
  "hsl": {
    "h": 228.908,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44024,
    "c": 0.15767,
    "h": 269.2
  },
  "luminance": 0.07987
}

Semantic roles & 50–950 ramp

primary
#3147A8
secondary
#C1B374
accent
#C34ADE
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3147A8

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

Preview Lab → · Contrast checker → · Palette generator →

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