#3048AD#3048AD

#3048AD is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.164 H 268.7°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#3048AD
RGBrgb(48, 72, 173)
HSLhsl(228, 57%, 43%)
HSVhsv(228, 72%, 68%)
CMYKcmyk(72.3%, 58.4%, 0%, 32.2%)
CIE-LABlab(34.56, 26.31, -56.71)
CIE-LCHlch(34.56, 62.52, 294.88°)
OKLaboklab(44.59% -0.0038 -0.1635)
OKLCHoklch(44.59% 0.164 268.7)
XYZxyz(11.0765, 8.2791, 40.5413)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3048AD #AD9530
analogous
#3086AD #3048AD #5630AD
triadic
#3048AD #AD3048 #48AD30
tetradic
#3048AD #AD3086 #AD9530 #30AD56
square
#3048AD #AD3086 #AD9530 #30AD56
split-complementary
#3048AD #AD5630 #86AD30
monochromatic
#15204D #23347D #3048AD #4D65CE #7D8FDB

Accessibility & contrast

On white

7.91
#3048AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3048AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3048AD
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3048AD#FFFFFF#000000##FFFFFF
##3048AD1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3048ad;
/* rgb */ color: rgb(48, 72, 173);
/* oklch */ color: oklch(44.6% 0.164 268.7);
Tailwind
colors: {
  custom: {
    50: '#797ac6',
    500: '#3048ad',
    950: '#000000',
  },
}
SCSS
$custom: #3048ad;
$custom-light: #797ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#3048ad",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 173
  },
  "hsl": {
    "h": 228.48,
    "s": 56.561,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44585,
    "c": 0.16359,
    "h": 268.7
  },
  "luminance": 0.0828
}

Semantic roles & 50–950 ramp

primary
#3048AD
secondary
#C3B475
accent
#C348E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3048AD

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

Preview Lab → · Contrast checker → · Palette generator →

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