#3048AE#3048AE

#3048AE is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.165 H 268.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#3048AE
RGBrgb(48, 72, 174)
HSLhsl(229, 57%, 44%)
HSVhsv(229, 72%, 68%)
CMYKcmyk(72.4%, 58.6%, 0%, 31.8%)
CIE-LABlab(34.64, 26.68, -57.18)
CIE-LCHlch(34.64, 63.10, 295.01°)
OKLaboklab(44.67% -0.0038 -0.1649)
OKLCHoklch(44.67% 0.165 268.7)
XYZxyz(11.1736, 8.3179, 41.0528)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3048AE #AE9630
analogous
#3087AE #3048AE #5730AE
triadic
#3048AE #AE3048 #48AE30
tetradic
#3048AE #AE3087 #AE9630 #30AE57
square
#3048AE #AE3087 #AE9630 #30AE57
split-complementary
#3048AE #AE5730 #87AE30
monochromatic
#16204E #23347E #3048AE #4D66CE #7D8FDB

Accessibility & contrast

On white

7.88
#3048AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3048AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3048AE#FFFFFF#000000##FFFFFF
##3048AE1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B1
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3048ae;
/* rgb */ color: rgb(48, 72, 174);
/* oklch */ color: oklch(44.7% 0.165 268.7);
Tailwind
colors: {
  custom: {
    50: '#7a7ac7',
    500: '#3048ae',
    950: '#000000',
  },
}
SCSS
$custom: #3048ae;
$custom-light: #7a7ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#3048ae",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 174
  },
  "hsl": {
    "h": 228.571,
    "s": 56.757,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44669,
    "c": 0.16496,
    "h": 268.7
  },
  "luminance": 0.08319
}

Semantic roles & 50–950 ramp

primary
#3048AE
secondary
#C4B576
accent
#C348E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #3048AE

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

Preview Lab → · Contrast checker → · Palette generator →

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