#3149AF#3149AF

#3149AF is a dark, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.165 H 268.7°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#3149AF
RGBrgb(49, 73, 175)
HSLhsl(229, 56%, 44%)
HSVhsv(229, 72%, 69%)
CMYKcmyk(72%, 58.3%, 0%, 31.4%)
CIE-LABlab(35.03, 26.52, -57.14)
CIE-LCHlch(35.03, 62.99, 294.90°)
OKLaboklab(45% -0.0036 -0.1647)
OKLCHoklch(45% 0.165 268.7)
XYZxyz(11.3844, 8.5120, 41.5921)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3149AF #AF9731
analogous
#3188AF #3149AF #5831AF
triadic
#3149AF #AF3149 #49AF31
tetradic
#3149AF #AF3188 #AF9731 #31AF58
square
#3149AF #AF3188 #AF9731 #31AF58
split-complementary
#3149AF #AF5831 #88AF31
monochromatic
#16214F #24357F #3149AF #4F67CE #7F91DB

Accessibility & contrast

On white

7.77
#3149AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3149AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3149AF#FFFFFF#000000##FFFFFF
##3149AF1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3149af;
/* rgb */ color: rgb(49, 73, 175);
/* oklch */ color: oklch(45.0% 0.165 268.7);
Tailwind
colors: {
  custom: {
    50: '#7a7bc8',
    500: '#3149af',
    950: '#000000',
  },
}
SCSS
$custom: #3149af;
$custom-light: #7a7bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3149af",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 175
  },
  "hsl": {
    "h": 228.571,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44999,
    "c": 0.16479,
    "h": 268.7
  },
  "luminance": 0.08513
}

Semantic roles & 50–950 ramp

primary
#3149AF
secondary
#C4B678
accent
#C348E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3149AF

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

Preview Lab → · Contrast checker → · Palette generator →

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