#3149B7#3149B7

#3149B7 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.7% C 0.176 H 268.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#3149B7
RGBrgb(49, 73, 183)
HSLhsl(229, 58%, 45%)
HSVhsv(229, 73%, 72%)
CMYKcmyk(73.2%, 60.1%, 0%, 28.2%)
CIE-LABlab(35.67, 29.48, -60.83)
CIE-LCHlch(35.67, 67.60, 295.85°)
OKLaboklab(45.67% -0.0035 -0.1756)
OKLCHoklch(45.67% 0.176 268.9)
XYZxyz(12.1935, 8.8357, 45.8534)
Luminance0.0884 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3149B7 #B79F31
analogous
#318CB7 #3149B7 #5C31B7
triadic
#3149B7 #B73149 #49B731
tetradic
#3149B7 #B7318C #B79F31 #31B75C
square
#3149B7 #B7318C #B79F31 #31B75C
split-complementary
#3149B7 #B75C31 #8CB731
monochromatic
#172256 #243687 #3149B7 #546AD1 #8494DE

Accessibility & contrast

On white

7.59
#3149B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3149B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3149B7#FFFFFF#000000##FFFFFF
##3149B71.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#004EB5
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3149b7;
/* rgb */ color: rgb(49, 73, 183);
/* oklch */ color: oklch(45.7% 0.176 268.9);
Tailwind
colors: {
  custom: {
    50: '#7c7bcd',
    500: '#3149b7',
    950: '#000000',
  },
}
SCSS
$custom: #3149b7;
$custom-light: #7c7bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#3149b7",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 183
  },
  "hsl": {
    "h": 229.254,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45674,
    "c": 0.17563,
    "h": 268.9
  },
  "luminance": 0.08837
}

Semantic roles & 50–950 ramp

primary
#3149B7
secondary
#C8BA7C
accent
#C547E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3149B7

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

Preview Lab → · Contrast checker → · Palette generator →

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