#3147AF#3147AF

#3147AF is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.167 H 269.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#3147AF
RGBrgb(49, 71, 175)
HSLhsl(230, 56%, 44%)
HSVhsv(230, 72%, 69%)
CMYKcmyk(72%, 59.4%, 0%, 31.4%)
CIE-LABlab(34.51, 27.84, -57.99)
CIE-LCHlch(34.51, 64.32, 295.64°)
OKLaboklab(44.61% -0.002 -0.1673)
OKLCHoklch(44.61% 0.167 269.3)
XYZxyz(11.2551, 8.2534, 41.5490)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3147AF #AF9931
analogous
#3186AF #3147AF #5A31AF
triadic
#3147AF #AF3147 #47AF31
tetradic
#3147AF #AF3186 #AF9931 #31AF5A
square
#3147AF #AF3186 #AF9931 #31AF5A
split-complementary
#3147AF #AF5A31 #86AF31
monochromatic
#16204F #24347F #3147AF #4F65CE #7F8FDB

Accessibility & contrast

On white

7.92
#3147AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3147AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3147AF
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3147AF#FFFFFF#000000##FFFFFF
##3147AF1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B2
Deuteranopia (green-blind)
#004BAD
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3147af;
/* rgb */ color: rgb(49, 71, 175);
/* oklch */ color: oklch(44.6% 0.167 269.3);
Tailwind
colors: {
  custom: {
    50: '#7a7ac8',
    500: '#3147af',
    950: '#000000',
  },
}
SCSS
$custom: #3147af;
$custom-light: #7a7ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3147af",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 229.524,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44609,
    "c": 0.16729,
    "h": 269.3
  },
  "luminance": 0.08255
}

Semantic roles & 50–950 ramp

primary
#3147AF
secondary
#C4B778
accent
#C548E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3147AF

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

Preview Lab → · Contrast checker → · Palette generator →

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