#3049B3#3049B3

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

Color values

HEX#3049B3
RGBrgb(48, 73, 179)
HSLhsl(229, 58%, 45%)
HSVhsv(229, 73%, 70%)
CMYKcmyk(73.2%, 59.2%, 0%, 29.8%)
CIE-LABlab(35.30, 27.87, -59.07)
CIE-LCHlch(35.30, 65.32, 295.26°)
OKLaboklab(45.29% -0.0045 -0.1705)
OKLCHoklch(45.29% 0.171 268.5)
XYZxyz(11.7353, 8.6469, 43.6896)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3049B3 #B39A30
analogous
#308AB3 #3049B3 #5930B3
triadic
#3049B3 #B33049 #49B330
tetradic
#3049B3 #B3308A #B39A30 #30B359
square
#3049B3 #B3308A #B39A30 #30B359
split-complementary
#3049B3 #B35930 #8AB330
monochromatic
#162252 #233583 #3049B3 #5069D0 #8092DD

Accessibility & contrast

On white

7.69
#3049B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3049B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3049B3
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3049B3#FFFFFF#000000##FFFFFF
##3049B31.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3049b3;
/* rgb */ color: rgb(48, 73, 179);
/* oklch */ color: oklch(45.3% 0.171 268.5);
Tailwind
colors: {
  custom: {
    50: '#7b7bcb',
    500: '#3049b3',
    950: '#000000',
  },
}
SCSS
$custom: #3049b3;
$custom-light: #7b7bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3049b3",
  "rgb": {
    "r": 48,
    "g": 73,
    "b": 179
  },
  "hsl": {
    "h": 228.55,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45285,
    "c": 0.17053,
    "h": 268.5
  },
  "luminance": 0.08648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3049B3

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

Preview Lab → · Contrast checker → · Palette generator →

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