#3147B1#3147B1

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

Color values

HEX#3147B1
RGBrgb(49, 71, 177)
HSLhsl(230, 57%, 44%)
HSVhsv(230, 72%, 69%)
CMYKcmyk(72.3%, 59.9%, 0%, 30.6%)
CIE-LABlab(34.67, 28.57, -58.91)
CIE-LCHlch(34.67, 65.48, 295.87°)
OKLaboklab(44.78% -0.002 -0.17)
OKLCHoklch(44.78% 0.17 269.3)
XYZxyz(11.4529, 8.3326, 42.5912)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3147B1 #B19B31
analogous
#3187B1 #3147B1 #5B31B1
triadic
#3147B1 #B13147 #47B131
tetradic
#3147B1 #B13187 #B19B31 #31B15B
square
#3147B1 #B13187 #B19B31 #31B15B
split-complementary
#3147B1 #B15B31 #87B131
monochromatic
#162151 #243481 #3147B1 #5166CF #8090DC

Accessibility & contrast

On white

7.87
#3147B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3147B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3147B1
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3147B1#FFFFFF#000000##FFFFFF
##3147B11.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#004CAF
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3147b1;
/* rgb */ color: rgb(49, 71, 177);
/* oklch */ color: oklch(44.8% 0.170 269.3);
Tailwind
colors: {
  custom: {
    50: '#7b7ac9',
    500: '#3147b1',
    950: '#000000',
  },
}
SCSS
$custom: #3147b1;
$custom-light: #7b7ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#3147b1",
  "rgb": {
    "r": 49,
    "g": 71,
    "b": 177
  },
  "hsl": {
    "h": 229.688,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44779,
    "c": 0.17,
    "h": 269.3
  },
  "luminance": 0.08334
}

Semantic roles & 50–950 ramp

primary
#3147B1
secondary
#C5B879
accent
#C648E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3147B1

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

Preview Lab → · Contrast checker → · Palette generator →

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