#3048AC#3048AC

#3048AC is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.162 H 268.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#3048AC
RGBrgb(48, 72, 172)
HSLhsl(228, 56%, 43%)
HSVhsv(228, 72%, 67%)
CMYKcmyk(72.1%, 58.1%, 0%, 32.5%)
CIE-LABlab(34.48, 25.93, -56.25)
CIE-LCHlch(34.48, 61.94, 294.75°)
OKLaboklab(44.5% -0.0038 -0.1622)
OKLCHoklch(44.5% 0.162 268.6)
XYZxyz(10.9801, 8.2405, 40.0336)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3048AC #AC9430
analogous
#3086AC #3048AC #5630AC
triadic
#3048AC #AC3048 #48AC30
tetradic
#3048AC #AC3086 #AC9430 #30AC56
square
#3048AC #AC3086 #AC9430 #30AC56
split-complementary
#3048AC #AC5630 #86AC30
monochromatic
#15204C #23347C #3048AC #4C65CD #7C8EDA

Accessibility & contrast

On white

7.93
#3048AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3048AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3048AC
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3048AC#FFFFFF#000000##FFFFFF
##3048AC1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AF
Deuteranopia (green-blind)
#004CAA
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3048ac;
/* rgb */ color: rgb(48, 72, 172);
/* oklch */ color: oklch(44.5% 0.162 268.6);
Tailwind
colors: {
  custom: {
    50: '#797ac5',
    500: '#3048ac',
    950: '#000000',
  },
}
SCSS
$custom: #3048ac;
$custom-light: #797ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3048ac",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 172
  },
  "hsl": {
    "h": 228.387,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44502,
    "c": 0.16222,
    "h": 268.6
  },
  "luminance": 0.08242
}

Semantic roles & 50–950 ramp

primary
#3048AC
secondary
#C3B475
accent
#C248E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3048AC

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

Preview Lab → · Contrast checker → · Palette generator →

#3048AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva