#3149A2#3149A2

#3149A2 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.147 H 268.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#3149A2
RGBrgb(49, 73, 162)
HSLhsl(227, 54%, 41%)
HSVhsv(227, 70%, 64%)
CMYKcmyk(69.8%, 54.9%, 0%, 36.5%)
CIE-LABlab(34.04, 21.69, -50.98)
CIE-LCHlch(34.04, 55.40, 293.05°)
OKLaboklab(43.94% -0.0042 -0.1466)
OKLCHoklch(43.94% 0.147 268.4)
XYZxyz(10.1685, 8.0257, 35.1886)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3149A2 #A28A31
analogous
#3182A2 #3149A2 #5231A2
triadic
#3149A2 #A23149 #49A231
tetradic
#3149A2 #A23182 #A28A31 #31A252
square
#3149A2 #A23182 #A28A31 #31A252
split-complementary
#3149A2 #A25231 #82A231
monochromatic
#151F44 #233473 #3149A2 #4863C8 #778BD6

Accessibility & contrast

On white

8.06
#3149A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3149A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3149A2#FFFFFF#000000##FFFFFF
##3149A21.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0355A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3149a2;
/* rgb */ color: rgb(49, 73, 162);
/* oklch */ color: oklch(43.9% 0.147 268.4);
Tailwind
colors: {
  custom: {
    50: '#777bbe',
    500: '#3149a2',
    950: '#000000',
  },
}
SCSS
$custom: #3149a2;
$custom-light: #777bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3149a2",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 162
  },
  "hsl": {
    "h": 227.257,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43943,
    "c": 0.14671,
    "h": 268.4
  },
  "luminance": 0.08027
}

Semantic roles & 50–950 ramp

primary
#3149A2
secondary
#BEAE71
accent
#BE4BDD
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3149A2

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

Preview Lab → · Contrast checker → · Palette generator →

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