#3048A4#3048A4

#3048A4 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.151 H 268.4°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#3048A4
RGBrgb(48, 72, 164)
HSLhsl(228, 55%, 42%)
HSVhsv(228, 71%, 64%)
CMYKcmyk(70.7%, 56.1%, 0%, 35.7%)
CIE-LABlab(33.86, 22.95, -52.47)
CIE-LCHlch(33.86, 57.27, 293.63°)
OKLaboklab(43.85% -0.0042 -0.151)
OKLCHoklch(43.85% 0.151 268.4)
XYZxyz(10.2348, 7.9424, 36.1084)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3048A4 #A48C30
analogous
#3082A4 #3048A4 #5230A4
triadic
#3048A4 #A43048 #48A430
tetradic
#3048A4 #A43082 #A48C30 #30A452
square
#3048A4 #A43082 #A48C30 #30A452
split-complementary
#3048A4 #A45230 #82A430
monochromatic
#141E45 #223375 #3048A4 #4863C9 #778BD7

Accessibility & contrast

On white

8.11
#3048A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3048A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3048A4
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3048A4#FFFFFF#000000##FFFFFF
##3048A41.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3048a4;
/* rgb */ color: rgb(48, 72, 164);
/* oklch */ color: oklch(43.8% 0.151 268.4);
Tailwind
colors: {
  custom: {
    50: '#777ac0',
    500: '#3048a4',
    950: '#000000',
  },
}
SCSS
$custom: #3048a4;
$custom-light: #777ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#3048a4",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 164
  },
  "hsl": {
    "h": 227.586,
    "s": 54.717,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43846,
    "c": 0.15111,
    "h": 268.4
  },
  "luminance": 0.07943
}

Semantic roles & 50–950 ramp

primary
#3048A4
secondary
#BFAF70
accent
#BF4ADE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3048A4

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

Preview Lab → · Contrast checker → · Palette generator →

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