#3048B6#3048B6

#3048B6 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.176 H 268.8°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#3048B6
RGBrgb(48, 72, 182)
HSLhsl(229, 58%, 45%)
HSVhsv(229, 74%, 71%)
CMYKcmyk(73.6%, 60.4%, 0%, 28.6%)
CIE-LABlab(35.28, 29.64, -60.87)
CIE-LCHlch(35.28, 67.70, 295.96°)
OKLaboklab(45.35% -0.0037 -0.1758)
OKLCHoklch(45.35% 0.176 268.8)
XYZxyz(11.9769, 8.6392, 45.2832)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3048B6 #B69E30
analogous
#308BB6 #3048B6 #5B30B6
triadic
#3048B6 #B63048 #48B630
tetradic
#3048B6 #B6308B #B69E30 #30B65B
square
#3048B6 #B6308B #B69E30 #30B65B
split-complementary
#3048B6 #B65B30 #8BB630
monochromatic
#162255 #233586 #3048B6 #5269D1 #8293DE

Accessibility & contrast

On white

7.70
#3048B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3048B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3048B6#FFFFFF#000000##FFFFFF
##3048B61.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#004DB4
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3048b6;
/* rgb */ color: rgb(48, 72, 182);
/* oklch */ color: oklch(45.3% 0.176 268.8);
Tailwind
colors: {
  custom: {
    50: '#7b7acd',
    500: '#3048b6',
    950: '#000000',
  },
}
SCSS
$custom: #3048b6;
$custom-light: #7b7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#3048b6",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 182
  },
  "hsl": {
    "h": 229.254,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45349,
    "c": 0.1758,
    "h": 268.8
  },
  "luminance": 0.08641
}

Semantic roles & 50–950 ramp

primary
#3048B6
secondary
#C7BA7B
accent
#C646E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3048B6

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

Preview Lab → · Contrast checker → · Palette generator →

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