#3049B8#3049B8

#3049B8 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.177 H 268.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#3049B8
RGBrgb(48, 73, 184)
HSLhsl(229, 59%, 45%)
HSVhsv(229, 74%, 72%)
CMYKcmyk(73.9%, 60.3%, 0%, 27.8%)
CIE-LABlab(35.70, 29.72, -61.37)
CIE-LCHlch(35.70, 68.19, 295.84°)
OKLaboklab(45.71% -0.0044 -0.1772)
OKLCHoklch(45.71% 0.177 268.6)
XYZxyz(12.2502, 8.8529, 46.4013)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3049B8 #B89F30
analogous
#308DB8 #3049B8 #5B30B8
triadic
#3049B8 #B83049 #49B830
tetradic
#3049B8 #B8308D #B89F30 #30B85B
square
#3049B8 #B8308D #B89F30 #30B85B
split-complementary
#3049B8 #B85B30 #8DB830
monochromatic
#172257 #233687 #3049B8 #536AD2 #8494DF

Accessibility & contrast

On white

7.58
#3049B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3049B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3049B8
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3049B8#FFFFFF#000000##FFFFFF
##3049B81.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#004EB6
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3049b8;
/* rgb */ color: rgb(48, 73, 184);
/* oklch */ color: oklch(45.7% 0.177 268.6);
Tailwind
colors: {
  custom: {
    50: '#7c7bce',
    500: '#3049b8',
    950: '#000000',
  },
}
SCSS
$custom: #3049b8;
$custom-light: #7c7bce;
$custom-dark: #000000;
JSON
{
  "hex": "#3049b8",
  "rgb": {
    "r": 48,
    "g": 73,
    "b": 184
  },
  "hsl": {
    "h": 228.971,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45711,
    "c": 0.17725,
    "h": 268.6
  },
  "luminance": 0.08854
}

Semantic roles & 50–950 ramp

primary
#3049B8
secondary
#C8BA7C
accent
#C546E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3049B8

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

Preview Lab → · Contrast checker → · Palette generator →

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