#3048B7#3048B7

#3048B7 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.177 H 268.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#3048B7
RGBrgb(48, 72, 183)
HSLhsl(229, 58%, 45%)
HSVhsv(229, 74%, 72%)
CMYKcmyk(73.8%, 60.7%, 0%, 28.2%)
CIE-LABlab(35.36, 30.00, -61.33)
CIE-LCHlch(35.36, 68.28, 296.07°)
OKLaboklab(45.44% -0.0037 -0.1771)
OKLCHoklch(45.44% 0.177 268.8)
XYZxyz(12.0806, 8.6807, 45.8294)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3048B7 #B79F30
analogous
#308CB7 #3048B7 #5B30B7
triadic
#3048B7 #B73048 #48B730
tetradic
#3048B7 #B7308C #B79F30 #30B75B
square
#3048B7 #B7308C #B79F30 #30B75B
split-complementary
#3048B7 #B75B30 #8CB730
monochromatic
#172256 #233587 #3048B7 #5269D2 #8393DE

Accessibility & contrast

On white

7.67
#3048B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3048B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3048B7#FFFFFF#000000##FFFFFF
##3048B71.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#004DB5
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3048b7;
/* rgb */ color: rgb(48, 72, 183);
/* oklch */ color: oklch(45.4% 0.177 268.8);
Tailwind
colors: {
  custom: {
    50: '#7c7acd',
    500: '#3048b7',
    950: '#000000',
  },
}
SCSS
$custom: #3048b7;
$custom-light: #7c7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#3048b7",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 183
  },
  "hsl": {
    "h": 229.333,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.45436,
    "c": 0.17714,
    "h": 268.8
  },
  "luminance": 0.08682
}

Semantic roles & 50–950 ramp

primary
#3048B7
secondary
#C8BA7B
accent
#C646E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3048B7

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

Preview Lab → · Contrast checker → · Palette generator →

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