#3048AA#3048AA

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

Color values

HEX#3048AA
RGBrgb(48, 72, 170)
HSLhsl(228, 56%, 43%)
HSVhsv(228, 72%, 67%)
CMYKcmyk(71.8%, 57.6%, 0%, 33.3%)
CIE-LABlab(34.32, 25.19, -55.31)
CIE-LCHlch(34.32, 60.77, 294.49°)
OKLaboklab(44.34% -0.0039 -0.1594)
OKLCHoklch(44.34% 0.159 268.6)
XYZxyz(10.7895, 8.1643, 39.0297)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3048AA #AA9230
analogous
#3085AA #3048AA #5530AA
triadic
#3048AA #AA3048 #48AA30
tetradic
#3048AA #AA3085 #AA9230 #30AA55
square
#3048AA #AA3085 #AA9230 #30AA55
split-complementary
#3048AA #AA5530 #85AA30
monochromatic
#15204B #23347A #3048AA #4B64CC #7B8DDA

Accessibility & contrast

On white

7.98
#3048AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3048AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3048AA#FFFFFF#000000##FFFFFF
##3048AA1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3048aa;
/* rgb */ color: rgb(48, 72, 170);
/* oklch */ color: oklch(44.3% 0.159 268.6);
Tailwind
colors: {
  custom: {
    50: '#797ac4',
    500: '#3048aa',
    950: '#000000',
  },
}
SCSS
$custom: #3048aa;
$custom-light: #797ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#3048aa",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 170
  },
  "hsl": {
    "h": 228.197,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44336,
    "c": 0.15946,
    "h": 268.6
  },
  "luminance": 0.08165
}

Semantic roles & 50–950 ramp

primary
#3048AA
secondary
#C2B374
accent
#C249DF
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3048AA

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

Preview Lab → · Contrast checker → · Palette generator →

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