#3048B3#3048B3

#3048B3 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.172 H 268.8°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#3048B3
RGBrgb(48, 72, 179)
HSLhsl(229, 58%, 45%)
HSVhsv(229, 73%, 70%)
CMYKcmyk(73.2%, 59.8%, 0%, 29.8%)
CIE-LABlab(35.04, 28.53, -59.50)
CIE-LCHlch(35.04, 65.98, 295.62°)
OKLaboklab(45.09% -0.0037 -0.1717)
OKLCHoklch(45.09% 0.172 268.8)
XYZxyz(11.6702, 8.5166, 43.6679)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3048B3 #B39B30
analogous
#3089B3 #3048B3 #5A30B3
triadic
#3048B3 #B33048 #48B330
tetradic
#3048B3 #B33089 #B39B30 #30B35A
square
#3048B3 #B33089 #B39B30 #30B35A
split-complementary
#3048B3 #B35A30 #89B330
monochromatic
#162152 #233583 #3048B3 #5068D0 #8091DD

Accessibility & contrast

On white

7.77
#3048B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3048B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3048B3
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3048B3#FFFFFF#000000##FFFFFF
##3048B31.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#004CB1
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3048b3;
/* rgb */ color: rgb(48, 72, 179);
/* oklch */ color: oklch(45.1% 0.172 268.8);
Tailwind
colors: {
  custom: {
    50: '#7b7acb',
    500: '#3048b3',
    950: '#000000',
  },
}
SCSS
$custom: #3048b3;
$custom-light: #7b7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3048b3",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 179
  },
  "hsl": {
    "h": 229.008,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45092,
    "c": 0.17176,
    "h": 268.8
  },
  "luminance": 0.08518
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3048B3

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

Preview Lab → · Contrast checker → · Palette generator →

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