#3048A2#3048A2

#3048A2 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.148 H 268.3°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#3048A2
RGBrgb(48, 72, 162)
HSLhsl(227, 54%, 41%)
HSVhsv(227, 70%, 64%)
CMYKcmyk(70.4%, 55.6%, 0%, 36.5%)
CIE-LABlab(33.71, 22.20, -51.51)
CIE-LCHlch(33.71, 56.09, 293.32°)
OKLaboklab(43.69% -0.0043 -0.1482)
OKLCHoklch(43.69% 0.148 268.3)
XYZxyz(10.0556, 7.8707, 35.1647)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3048A2 #A28A30
analogous
#3081A2 #3048A2 #5130A2
triadic
#3048A2 #A23048 #48A230
tetradic
#3048A2 #A23081 #A28A30 #30A251
square
#3048A2 #A23081 #A28A30 #30A251
split-complementary
#3048A2 #A25130 #81A230
monochromatic
#141E44 #223373 #3048A2 #4762C8 #768AD6

Accessibility & contrast

On white

8.16
#3048A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3048A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3048A2#FFFFFF#000000##FFFFFF
##3048A21.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#004AA0
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3048a2;
/* rgb */ color: rgb(48, 72, 162);
/* oklch */ color: oklch(43.7% 0.148 268.3);
Tailwind
colors: {
  custom: {
    50: '#777abe',
    500: '#3048a2',
    950: '#000000',
  },
}
SCSS
$custom: #3048a2;
$custom-light: #777abe;
$custom-dark: #000000;
JSON
{
  "hex": "#3048a2",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 227.368,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.43685,
    "c": 0.1483,
    "h": 268.3
  },
  "luminance": 0.07872
}

Semantic roles & 50–950 ramp

primary
#3048A2
secondary
#BEAE6F
accent
#BF4ADE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3048A2

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

Preview Lab → · Contrast checker → · Palette generator →

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