#3048B4#3048B4

#3048B4 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.2% C 0.173 H 268.8°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#3048B4
RGBrgb(48, 72, 180)
HSLhsl(229, 58%, 45%)
HSVhsv(229, 73%, 71%)
CMYKcmyk(73.3%, 60%, 0%, 29.4%)
CIE-LABlab(35.12, 28.90, -59.96)
CIE-LCHlch(35.12, 66.56, 295.73°)
OKLaboklab(45.18% -0.0037 -0.1731)
OKLCHoklch(45.18% 0.173 268.8)
XYZxyz(11.7717, 8.5572, 44.2025)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3048B4 #B49C30
analogous
#308AB4 #3048B4 #5A30B4
triadic
#3048B4 #B43048 #48B430
tetradic
#3048B4 #B4308A #B49C30 #30B45A
square
#3048B4 #B4308A #B49C30 #30B45A
split-complementary
#3048B4 #B45A30 #8AB430
monochromatic
#162153 #233584 #3048B4 #5168D1 #8192DD

Accessibility & contrast

On white

7.74
#3048B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3048B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3048B4
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3048B4#FFFFFF#000000##FFFFFF
##3048B41.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3048b4;
/* rgb */ color: rgb(48, 72, 180);
/* oklch */ color: oklch(45.2% 0.173 268.8);
Tailwind
colors: {
  custom: {
    50: '#7b7acb',
    500: '#3048b4',
    950: '#000000',
  },
}
SCSS
$custom: #3048b4;
$custom-light: #7b7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3048b4",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 180
  },
  "hsl": {
    "h": 229.091,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45177,
    "c": 0.17311,
    "h": 268.8
  },
  "luminance": 0.08558
}

Semantic roles & 50–950 ramp

primary
#3048B4
secondary
#C6B879
accent
#C547E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3048B4

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

Preview Lab → · Contrast checker → · Palette generator →

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