#3147A1#3147A1

#3147A1 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.5% C 0.148 H 269.0°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#3147A1
RGBrgb(49, 71, 161)
HSLhsl(228, 53%, 41%)
HSVhsv(228, 70%, 63%)
CMYKcmyk(69.6%, 55.9%, 0%, 36.9%)
CIE-LABlab(33.42, 22.65, -51.38)
CIE-LCHlch(33.42, 56.15, 293.79°)
OKLaboklab(43.45% -0.0025 -0.1479)
OKLCHoklch(43.45% 0.148 269)
XYZxyz(9.9507, 7.7317, 34.6793)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3147A1 #A18B31
analogous
#317FA1 #3147A1 #5331A1
triadic
#3147A1 #A13147 #47A131
tetradic
#3147A1 #A1317F #A18B31 #31A153
square
#3147A1 #A1317F #A18B31 #31A153
split-complementary
#3147A1 #A15331 #7FA131
monochromatic
#141E43 #233272 #3147A1 #4861C7 #7789D6

Accessibility & contrast

On white

8.25
#3147A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#3147A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3147A1
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3147A1#FFFFFF#000000##FFFFFF
##3147A11.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A4
Deuteranopia (green-blind)
#004A9F
Tritanopia (blue-blind)
#005D6D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3147a1;
/* rgb */ color: rgb(49, 71, 161);
/* oklch */ color: oklch(43.5% 0.148 269.0);
Tailwind
colors: {
  custom: {
    50: '#7779bd',
    500: '#3147a1',
    950: '#000000',
  },
}
SCSS
$custom: #3147a1;
$custom-light: #7779bd;
$custom-dark: #000000;
JSON
{
  "hex": "#3147a1",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 161
  },
  "hsl": {
    "h": 228.214,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43454,
    "c": 0.14788,
    "h": 269
  },
  "luminance": 0.07733
}

Semantic roles & 50–950 ramp

primary
#3147A1
secondary
#BEAE70
accent
#C04BDD
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3147A1

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

Preview Lab → · Contrast checker → · Palette generator →

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