#3048AB#3048AB

#3048AB is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.161 H 268.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#3048AB
RGBrgb(48, 72, 171)
HSLhsl(228, 56%, 43%)
HSVhsv(228, 72%, 67%)
CMYKcmyk(71.9%, 57.9%, 0%, 32.9%)
CIE-LABlab(34.40, 25.56, -55.78)
CIE-LCHlch(34.40, 61.36, 294.62°)
OKLaboklab(44.42% -0.0039 -0.1608)
OKLCHoklch(44.42% 0.161 268.6)
XYZxyz(10.8844, 8.2023, 39.5298)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3048AB #AB9330
analogous
#3085AB #3048AB #5630AB
triadic
#3048AB #AB3048 #48AB30
tetradic
#3048AB #AB3085 #AB9330 #30AB56
square
#3048AB #AB3085 #AB9330 #30AB56
split-complementary
#3048AB #AB5630 #85AB30
monochromatic
#15204B #23347B #3048AB #4C65CD #7B8EDA

Accessibility & contrast

On white

7.95
#3048AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3048AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3048AB
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3048AB#FFFFFF#000000##FFFFFF
##3048AB1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004BA9
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3048ab;
/* rgb */ color: rgb(48, 72, 171);
/* oklch */ color: oklch(44.4% 0.161 268.6);
Tailwind
colors: {
  custom: {
    50: '#797ac5',
    500: '#3048ab',
    950: '#000000',
  },
}
SCSS
$custom: #3048ab;
$custom-light: #797ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3048ab",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 228.293,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.44419,
    "c": 0.16084,
    "h": 268.6
  },
  "luminance": 0.08203
}

Semantic roles & 50–950 ramp

primary
#3048AB
secondary
#C3B374
accent
#C248DF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3048AB

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

Preview Lab → · Contrast checker → · Palette generator →

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