#3149B9#3149B9

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

Color values

HEX#3149B9
RGBrgb(49, 73, 185)
HSLhsl(229, 58%, 46%)
HSVhsv(229, 74%, 73%)
CMYKcmyk(73.5%, 60.5%, 0%, 27.5%)
CIE-LABlab(35.83, 30.21, -61.74)
CIE-LCHlch(35.83, 68.74, 296.07°)
OKLaboklab(45.85% -0.0035 -0.1783)
OKLCHoklch(45.85% 0.178 268.9)
XYZxyz(12.4031, 8.9195, 46.9575)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3149B9 #B9A131
analogous
#318DB9 #3149B9 #5D31B9
triadic
#3149B9 #B93149 #49B931
tetradic
#3149B9 #B9318D #B9A131 #31B95D
square
#3149B9 #B9318D #B9A131 #31B95D
split-complementary
#3149B9 #B95D31 #8DB931
monochromatic
#172358 #243689 #3149B9 #556BD2 #8695DF

Accessibility & contrast

On white

7.54
#3149B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3149B9
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3149B9#FFFFFF#000000##FFFFFF
##3149B91.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#004EB7
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3149b9;
/* rgb */ color: rgb(49, 73, 185);
/* oklch */ color: oklch(45.8% 0.178 268.9);
Tailwind
colors: {
  custom: {
    50: '#7c7bcf',
    500: '#3149b9',
    950: '#000000',
  },
}
SCSS
$custom: #3149b9;
$custom-light: #7c7bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#3149b9",
  "rgb": {
    "r": 49,
    "g": 73,
    "b": 185
  },
  "hsl": {
    "h": 229.412,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.45846,
    "c": 0.17831,
    "h": 268.9
  },
  "luminance": 0.08921
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3149B9

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

Preview Lab → · Contrast checker → · Palette generator →

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