#3149B2#3149B2

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

Color values

HEX#3149B2
RGBrgb(49, 73, 178)
HSLhsl(229, 57%, 45%)
HSVhsv(229, 72%, 70%)
CMYKcmyk(72.5%, 59%, 0%, 30.2%)
CIE-LABlab(35.26, 27.63, -58.53)
CIE-LCHlch(35.26, 64.73, 295.27°)
OKLaboklab(45.25% -0.0035 -0.1688)
OKLCHoklch(45.25% 0.169 268.8)
XYZxyz(11.6823, 8.6312, 43.1612)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3149B2 #B29A31
analogous
#318AB2 #3149B2 #5A31B2
triadic
#3149B2 #B23149 #49B231
tetradic
#3149B2 #B2318A #B29A31 #31B25A
square
#3149B2 #B2318A #B29A31 #31B25A
split-complementary
#3149B2 #B25A31 #8AB231
monochromatic
#172252 #243582 #3149B2 #5169CF #8192DC

Accessibility & contrast

On white

7.70
#3149B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3149B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3149B2
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3149B2#FFFFFF#000000##FFFFFF
##3149B21.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#004DB0
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3149b2;
/* rgb */ color: rgb(49, 73, 178);
/* oklch */ color: oklch(45.3% 0.169 268.8);
Tailwind
colors: {
  custom: {
    50: '#7b7bca',
    500: '#3149b2',
    950: '#000000',
  },
}
SCSS
$custom: #3149b2;
$custom-light: #7b7bca;
$custom-dark: #000000;
JSON
{
  "hex": "#3149b2",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 178
  },
  "hsl": {
    "h": 228.837,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4525,
    "c": 0.16889,
    "h": 268.8
  },
  "luminance": 0.08632
}

Semantic roles & 50–950 ramp

primary
#3149B2
secondary
#C5B779
accent
#C448E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3149B2

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

Preview Lab → · Contrast checker → · Palette generator →

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