#3149A7#3149A7

#3149A7 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.3% C 0.154 H 268.5°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#3149A7
RGBrgb(49, 73, 167)
HSLhsl(228, 55%, 42%)
HSVhsv(228, 71%, 65%)
CMYKcmyk(70.7%, 56.3%, 0%, 34.5%)
CIE-LABlab(34.41, 23.55, -53.37)
CIE-LCHlch(34.41, 58.34, 293.81°)
OKLaboklab(44.34% -0.0039 -0.1537)
OKLCHoklch(44.34% 0.154 268.5)
XYZxyz(10.6218, 8.2070, 37.5761)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3149A7 #A78F31
analogous
#3184A7 #3149A7 #5431A7
triadic
#3149A7 #A73149 #49A731
tetradic
#3149A7 #A73184 #A78F31 #31A754
square
#3149A7 #A73184 #A78F31 #31A754
split-complementary
#3149A7 #A75431 #84A731
monochromatic
#152048 #233478 #3149A7 #4B65CA #7A8DD8

Accessibility & contrast

On white

7.95
#3149A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3149A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3149A7
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3149A7#FFFFFF#000000##FFFFFF
##3149A71.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#004CA5
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3149a7;
/* rgb */ color: rgb(49, 73, 167);
/* oklch */ color: oklch(44.3% 0.154 268.5);
Tailwind
colors: {
  custom: {
    50: '#787bc2',
    500: '#3149a7',
    950: '#000000',
  },
}
SCSS
$custom: #3149a7;
$custom-light: #787bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#3149a7",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 167
  },
  "hsl": {
    "h": 227.797,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44343,
    "c": 0.15373,
    "h": 268.5
  },
  "luminance": 0.08208
}

Semantic roles & 50–950 ramp

primary
#3149A7
secondary
#C1B173
accent
#C04ADE
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3149A7

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

Preview Lab → · Contrast checker → · Palette generator →

#3149A7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva