#3149AC#3149AC

#3149AC is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.161 H 268.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#3149AC
RGBrgb(49, 73, 172)
HSLhsl(228, 56%, 43%)
HSVhsv(228, 72%, 67%)
CMYKcmyk(71.5%, 57.6%, 0%, 32.5%)
CIE-LABlab(34.79, 25.41, -55.73)
CIE-LCHlch(34.79, 61.25, 294.51°)
OKLaboklab(44.75% -0.0037 -0.1606)
OKLCHoklch(44.75% 0.161 268.7)
XYZxyz(11.0930, 8.3955, 40.0576)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3149AC #AC9431
analogous
#3186AC #3149AC #5731AC
triadic
#3149AC #AC3149 #49AC31
tetradic
#3149AC #AC3186 #AC9431 #31AC57
square
#3149AC #AC3186 #AC9431 #31AC57
split-complementary
#3149AC #AC5731 #86AC31
monochromatic
#16214D #23357C #3149AC #4E66CC #7D8FDA

Accessibility & contrast

On white

7.84
#3149AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3149AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3149AC#FFFFFF#000000##FFFFFF
##3149AC1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AF
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3149ac;
/* rgb */ color: rgb(49, 73, 172);
/* oklch */ color: oklch(44.8% 0.161 268.7);
Tailwind
colors: {
  custom: {
    50: '#797bc5',
    500: '#3149ac',
    950: '#000000',
  },
}
SCSS
$custom: #3149ac;
$custom-light: #797bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3149ac",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 172
  },
  "hsl": {
    "h": 228.293,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4475,
    "c": 0.16067,
    "h": 268.7
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

primary
#3149AC
secondary
#C3B476
accent
#C249DF
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3149AC

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

Preview Lab → · Contrast checker → · Palette generator →

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