#3048BF#3048BF

#3048BF is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.1% C 0.188 H 268.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#3048BF
RGBrgb(48, 72, 191)
HSLhsl(230, 60%, 47%)
HSVhsv(230, 75%, 75%)
CMYKcmyk(74.9%, 62.3%, 0%, 25.1%)
CIE-LABlab(36.03, 32.94, -64.94)
CIE-LCHlch(36.03, 72.82, 296.89°)
OKLaboklab(46.14% -0.0038 -0.1877)
OKLCHoklch(46.14% 0.188 268.8)
XYZxyz(12.9370, 9.0233, 50.3400)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3048BF #BFA730
analogous
#3090BF #3048BF #6030BF
triadic
#3048BF #BF3048 #48BF30
tetradic
#3048BF #BF3090 #BFA730 #30BF60
square
#3048BF #BF3090 #BFA730 #30BF60
split-complementary
#3048BF #BF6030 #90BF30
monochromatic
#17235D #24368E #3048BF #576CD5 #8897E1

Accessibility & contrast

On white

7.49
#3048BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3048BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3048BF#FFFFFF#000000##FFFFFF
##3048BF1.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#004EBD
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3048bf;
/* rgb */ color: rgb(48, 72, 191);
/* oklch */ color: oklch(46.1% 0.188 268.8);
Tailwind
colors: {
  custom: {
    50: '#7d7ad3',
    500: '#3048bf',
    950: '#000000',
  },
}
SCSS
$custom: #3048bf;
$custom-light: #7d7ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#3048bf",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 229.93,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46136,
    "c": 0.18774,
    "h": 268.8
  },
  "luminance": 0.09025
}

Semantic roles & 50–950 ramp

primary
#3048BF
secondary
#CBBE80
accent
#C845E3
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #3048BF

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

Preview Lab → · Contrast checker → · Palette generator →

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