#3048BD#3048BD

#3048BD is a mid, vivid blue. Relative luminance 0.089; OKLCH L 46.0% C 0.185 H 268.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#3048BD
RGBrgb(48, 72, 189)
HSLhsl(230, 59%, 46%)
HSVhsv(230, 75%, 74%)
CMYKcmyk(74.6%, 61.9%, 0%, 25.9%)
CIE-LABlab(35.86, 32.20, -64.05)
CIE-LCHlch(35.86, 71.69, 296.69°)
OKLaboklab(45.96% -0.0038 -0.1851)
OKLCHoklch(45.96% 0.185 268.8)
XYZxyz(12.7184, 8.9359, 49.1887)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3048BD #BDA530
analogous
#308FBD #3048BD #5F30BD
triadic
#3048BD #BD3048 #48BD30
tetradic
#3048BD #BD308F #BDA530 #30BD5F
square
#3048BD #BD308F #BDA530 #30BD5F
split-complementary
#3048BD #BD5F30 #8FBD30
monochromatic
#17235B #24358C #3048BD #566CD4 #8796E0

Accessibility & contrast

On white

7.53
#3048BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#3048BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3048BD
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3048BD#FFFFFF#000000##FFFFFF
##3048BD1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#004EBB
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3048bd;
/* rgb */ color: rgb(48, 72, 189);
/* oklch */ color: oklch(46.0% 0.185 268.8);
Tailwind
colors: {
  custom: {
    50: '#7d7ad2',
    500: '#3048bd',
    950: '#000000',
  },
}
SCSS
$custom: #3048bd;
$custom-light: #7d7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#3048bd",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 189
  },
  "hsl": {
    "h": 229.787,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45959,
    "c": 0.18511,
    "h": 268.8
  },
  "luminance": 0.08937
}

Semantic roles & 50–950 ramp

primary
#3048BD
secondary
#CABD7F
accent
#C845E3
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #3048BD

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

Preview Lab → · Contrast checker → · Palette generator →

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