#3049AB#3049AB

#3049AB is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.160 H 268.3°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#3049AB
RGBrgb(48, 73, 171)
HSLhsl(228, 56%, 43%)
HSVhsv(228, 72%, 67%)
CMYKcmyk(71.9%, 57.3%, 0%, 32.9%)
CIE-LABlab(34.67, 24.90, -55.35)
CIE-LCHlch(34.67, 60.69, 294.22°)
OKLaboklab(44.62% -0.0047 -0.1595)
OKLCHoklch(44.62% 0.16 268.3)
XYZxyz(10.9496, 8.3326, 39.5515)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3049AB #AB9230
analogous
#3086AB #3049AB #5530AB
triadic
#3049AB #AB3049 #49AB30
tetradic
#3049AB #AB3086 #AB9230 #30AB55
square
#3049AB #AB3086 #AB9230 #30AB55
split-complementary
#3049AB #AB5530 #86AB30
monochromatic
#15204B #23357B #3049AB #4C66CD #7B8FDA

Accessibility & contrast

On white

7.87
#3049AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3049AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3049AB
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3049AB#FFFFFF#000000##FFFFFF
##3049AB1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3049ab;
/* rgb */ color: rgb(48, 73, 171);
/* oklch */ color: oklch(44.6% 0.160 268.3);
Tailwind
colors: {
  custom: {
    50: '#797bc5',
    500: '#3049ab',
    950: '#000000',
  },
}
SCSS
$custom: #3049ab;
$custom-light: #797bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#3049ab",
  "rgb": {
    "r": 48,
    "g": 73,
    "b": 171
  },
  "hsl": {
    "h": 227.805,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44617,
    "c": 0.15958,
    "h": 268.3
  },
  "luminance": 0.08334
}

Semantic roles & 50–950 ramp

primary
#3049AB
secondary
#C3B374
accent
#C148DF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3049AB

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

Preview Lab → · Contrast checker → · Palette generator →

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