#3049B4#3049B4

#3049B4 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.172 H 268.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#3049B4
RGBrgb(48, 73, 180)
HSLhsl(229, 58%, 45%)
HSVhsv(229, 73%, 71%)
CMYKcmyk(73.3%, 59.4%, 0%, 29.4%)
CIE-LABlab(35.38, 28.24, -59.54)
CIE-LCHlch(35.38, 65.90, 295.38°)
OKLaboklab(45.37% -0.0044 -0.1718)
OKLCHoklch(45.37% 0.172 268.5)
XYZxyz(11.8368, 8.6875, 44.2242)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3049B4 #B49B30
analogous
#308BB4 #3049B4 #5930B4
triadic
#3049B4 #B43049 #49B430
tetradic
#3049B4 #B4308B #B49B30 #30B459
square
#3049B4 #B4308B #B49B30 #30B459
split-complementary
#3049B4 #B45930 #8BB430
monochromatic
#162253 #233584 #3049B4 #5169D1 #8193DD

Accessibility & contrast

On white

7.67
#3049B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3049B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3049B4
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3049B4#FFFFFF#000000##FFFFFF
##3049B41.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3049b4;
/* rgb */ color: rgb(48, 73, 180);
/* oklch */ color: oklch(45.4% 0.172 268.5);
Tailwind
colors: {
  custom: {
    50: '#7b7bcb',
    500: '#3049b4',
    950: '#000000',
  },
}
SCSS
$custom: #3049b4;
$custom-light: #7b7bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3049b4",
  "rgb": {
    "r": 48,
    "g": 73,
    "b": 180
  },
  "hsl": {
    "h": 228.636,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4537,
    "c": 0.17188,
    "h": 268.5
  },
  "luminance": 0.08689
}

Semantic roles & 50–950 ramp

primary
#3049B4
secondary
#C6B879
accent
#C447E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3049B4

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

Preview Lab → · Contrast checker → · Palette generator →

#3049B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva