#3049B5#3049B5

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

Color values

HEX#3049B5
RGBrgb(48, 73, 181)
HSLhsl(229, 58%, 45%)
HSVhsv(229, 73%, 71%)
CMYKcmyk(73.5%, 59.7%, 0%, 29%)
CIE-LABlab(35.46, 28.61, -60.00)
CIE-LCHlch(35.46, 66.47, 295.50°)
OKLaboklab(45.46% -0.0044 -0.1732)
OKLCHoklch(45.46% 0.173 268.5)
XYZxyz(11.9391, 8.7284, 44.7626)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3049B5 #B59C30
analogous
#308BB5 #3049B5 #5A30B5
triadic
#3049B5 #B53049 #49B530
tetradic
#3049B5 #B5308B #B59C30 #30B55A
square
#3049B5 #B5308B #B59C30 #30B55A
split-complementary
#3049B5 #B55A30 #8BB530
monochromatic
#162254 #233585 #3049B5 #5169D1 #8293DE

Accessibility & contrast

On white

7.65
#3049B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3049B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3049B5
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3049B5#FFFFFF#000000##FFFFFF
##3049B51.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3049b5;
/* rgb */ color: rgb(48, 73, 181);
/* oklch */ color: oklch(45.5% 0.173 268.5);
Tailwind
colors: {
  custom: {
    50: '#7b7bcc',
    500: '#3049b5',
    950: '#000000',
  },
}
SCSS
$custom: #3049b5;
$custom-light: #7b7bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3049b5",
  "rgb": {
    "r": 48,
    "g": 73,
    "b": 181
  },
  "hsl": {
    "h": 228.722,
    "s": 58.079,
    "l": 44.902
  },
  "oklch": {
    "l": 0.45455,
    "c": 0.17323,
    "h": 268.5
  },
  "luminance": 0.0873
}

Semantic roles & 50–950 ramp

primary
#3049B5
secondary
#C7B87A
accent
#C446E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3049B5

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

Preview Lab → · Contrast checker → · Palette generator →

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