#3049B2#3049B2

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

Color values

HEX#3049B2
RGBrgb(48, 73, 178)
HSLhsl(228, 58%, 44%)
HSVhsv(228, 73%, 70%)
CMYKcmyk(73%, 59%, 0%, 30.2%)
CIE-LABlab(35.22, 27.50, -58.61)
CIE-LCHlch(35.22, 64.74, 295.14°)
OKLaboklab(45.2% -0.0045 -0.1691)
OKLCHoklch(45.2% 0.169 268.5)
XYZxyz(11.6346, 8.6066, 43.1589)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3049B2 #B29930
analogous
#308AB2 #3049B2 #5830B2
triadic
#3049B2 #B23049 #49B230
tetradic
#3049B2 #B2308A #B29930 #30B258
square
#3049B2 #B2308A #B29930 #30B258
split-complementary
#3049B2 #B25830 #8AB230
monochromatic
#162152 #233582 #3049B2 #5068D0 #8092DD

Accessibility & contrast

On white

7.72
#3049B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3049B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3049B2
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3049B2#FFFFFF#000000##FFFFFF
##3049B21.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.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: #3049b2;
/* rgb */ color: rgb(48, 73, 178);
/* oklch */ color: oklch(45.2% 0.169 268.5);
Tailwind
colors: {
  custom: {
    50: '#7a7bca',
    500: '#3049b2',
    950: '#000000',
  },
}
SCSS
$custom: #3049b2;
$custom-light: #7a7bca;
$custom-dark: #000000;
JSON
{
  "hex": "#3049b2",
  "rgb": {
    "r": 48,
    "g": 73,
    "b": 178
  },
  "hsl": {
    "h": 228.462,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.452,
    "c": 0.16917,
    "h": 268.5
  },
  "luminance": 0.08608
}

Semantic roles & 50–950 ramp

primary
#3049B2
secondary
#C6B778
accent
#C347E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3049B2

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

Preview Lab → · Contrast checker → · Palette generator →

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