#3149B0#3149B0

#3149B0 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.166 H 268.8°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#3149B0
RGBrgb(49, 73, 176)
HSLhsl(229, 56%, 44%)
HSVhsv(229, 72%, 69%)
CMYKcmyk(72.2%, 58.5%, 0%, 31%)
CIE-LABlab(35.11, 26.89, -57.60)
CIE-LCHlch(35.11, 63.57, 295.03°)
OKLaboklab(45.08% -0.0036 -0.1661)
OKLCHoklch(45.08% 0.166 268.8)
XYZxyz(11.4829, 8.5515, 42.1113)
Luminance0.0855 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3149B0 #B09831
analogous
#3189B0 #3149B0 #5931B0
triadic
#3149B0 #B03149 #49B031
tetradic
#3149B0 #B03189 #B09831 #31B059
square
#3149B0 #B03189 #B09831 #31B059
split-complementary
#3149B0 #B05931 #89B031
monochromatic
#162150 #243580 #3149B0 #5068CE #8091DC

Accessibility & contrast

On white

7.75
#3149B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3149B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3149B0
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3149B0#FFFFFF#000000##FFFFFF
##3149B01.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3149b0;
/* rgb */ color: rgb(49, 73, 176);
/* oklch */ color: oklch(45.1% 0.166 268.8);
Tailwind
colors: {
  custom: {
    50: '#7a7bc8',
    500: '#3149b0',
    950: '#000000',
  },
}
SCSS
$custom: #3149b0;
$custom-light: #7a7bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#3149b0",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 176
  },
  "hsl": {
    "h": 228.661,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45082,
    "c": 0.16616,
    "h": 268.8
  },
  "luminance": 0.08553
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3149B0

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

Preview Lab → · Contrast checker → · Palette generator →

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