#3149B8#3149B8

#3149B8 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.8% C 0.177 H 268.9°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#3149B8
RGBrgb(49, 73, 184)
HSLhsl(229, 58%, 46%)
HSVhsv(229, 73%, 72%)
CMYKcmyk(73.4%, 60.3%, 0%, 27.8%)
CIE-LABlab(35.75, 29.84, -61.29)
CIE-LCHlch(35.75, 68.17, 295.96°)
OKLaboklab(45.76% -0.0035 -0.1769)
OKLCHoklch(45.76% 0.177 268.9)
XYZxyz(12.2979, 8.8775, 46.4035)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3149B8 #B8A031
analogous
#318CB8 #3149B8 #5C31B8
triadic
#3149B8 #B83149 #49B831
tetradic
#3149B8 #B8318C #B8A031 #31B85C
square
#3149B8 #B8318C #B8A031 #31B85C
split-complementary
#3149B8 #B85C31 #8CB831
monochromatic
#172357 #243688 #3149B8 #556BD2 #8595DE

Accessibility & contrast

On white

7.57
#3149B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3149B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3149B8#FFFFFF#000000##FFFFFF
##3149B81.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3149b8;
/* rgb */ color: rgb(49, 73, 184);
/* oklch */ color: oklch(45.8% 0.177 268.9);
Tailwind
colors: {
  custom: {
    50: '#7c7bce',
    500: '#3149b8',
    950: '#000000',
  },
}
SCSS
$custom: #3149b8;
$custom-light: #7c7bce;
$custom-dark: #000000;
JSON
{
  "hex": "#3149b8",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 184
  },
  "hsl": {
    "h": 229.333,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4576,
    "c": 0.17698,
    "h": 268.9
  },
  "luminance": 0.08879
}

Semantic roles & 50–950 ramp

primary
#3149B8
secondary
#C8BB7D
accent
#C647E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3149B8

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

Preview Lab → · Contrast checker → · Palette generator →

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