#3149AA#3149AA

#3149AA is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.158 H 268.6°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#3149AA
RGBrgb(49, 73, 170)
HSLhsl(228, 55%, 43%)
HSVhsv(228, 71%, 67%)
CMYKcmyk(71.2%, 57.1%, 0%, 33.3%)
CIE-LABlab(34.64, 24.67, -54.79)
CIE-LCHlch(34.64, 60.09, 294.24°)
OKLaboklab(44.59% -0.0038 -0.1579)
OKLCHoklch(44.59% 0.158 268.6)
XYZxyz(10.9024, 8.3192, 39.0536)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3149AA #AA9231
analogous
#3185AA #3149AA #5531AA
triadic
#3149AA #AA3149 #49AA31
tetradic
#3149AA #AA3185 #AA9231 #31AA55
square
#3149AA #AA3185 #AA9231 #31AA55
split-complementary
#3149AA #AA5531 #85AA31
monochromatic
#16204B #23357A #3149AA #4D66CC #7C8FD9

Accessibility & contrast

On white

7.88
#3149AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3149AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3149AA#FFFFFF#000000##FFFFFF
##3149AA1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#004CA8
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3149aa;
/* rgb */ color: rgb(49, 73, 170);
/* oklch */ color: oklch(44.6% 0.158 268.6);
Tailwind
colors: {
  custom: {
    50: '#797bc4',
    500: '#3149aa',
    950: '#000000',
  },
}
SCSS
$custom: #3149aa;
$custom-light: #797bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#3149aa",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 170
  },
  "hsl": {
    "h": 228.099,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44586,
    "c": 0.15791,
    "h": 268.6
  },
  "luminance": 0.0832
}

Semantic roles & 50–950 ramp

primary
#3149AA
secondary
#C2B375
accent
#C149DF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3149AA

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

Preview Lab → · Contrast checker → · Palette generator →

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