#3048B0#3048B0

#3048B0 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.8% C 0.168 H 268.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#3048B0
RGBrgb(48, 72, 176)
HSLhsl(229, 57%, 44%)
HSVhsv(229, 73%, 69%)
CMYKcmyk(72.7%, 59.1%, 0%, 31%)
CIE-LABlab(34.80, 27.42, -58.11)
CIE-LCHlch(34.80, 64.25, 295.26°)
OKLaboklab(44.84% -0.0038 -0.1676)
OKLCHoklch(44.84% 0.168 268.7)
XYZxyz(11.3701, 8.3965, 42.0873)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3048B0 #B09830
analogous
#3088B0 #3048B0 #5830B0
triadic
#3048B0 #B03048 #48B030
tetradic
#3048B0 #B03088 #B09830 #30B058
square
#3048B0 #B03088 #B09830 #30B058
split-complementary
#3048B0 #B05830 #88B030
monochromatic
#162150 #233480 #3048B0 #4E66CF #7E90DC

Accessibility & contrast

On white

7.84
#3048B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3048B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3048B0
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3048B0#FFFFFF#000000##FFFFFF
##3048B01.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#004CAE
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3048b0;
/* rgb */ color: rgb(48, 72, 176);
/* oklch */ color: oklch(44.8% 0.168 268.7);
Tailwind
colors: {
  custom: {
    50: '#7a7ac8',
    500: '#3048b0',
    950: '#000000',
  },
}
SCSS
$custom: #3048b0;
$custom-light: #7a7ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3048b0",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 176
  },
  "hsl": {
    "h": 228.75,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44837,
    "c": 0.16769,
    "h": 268.7
  },
  "luminance": 0.08398
}

Semantic roles & 50–950 ramp

primary
#3048B0
secondary
#C5B677
accent
#C447E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3048B0

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

Preview Lab → · Contrast checker → · Palette generator →

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