#3048BC#3048BC

#3048BC is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.9% C 0.184 H 268.8°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#3048BC
RGBrgb(48, 72, 188)
HSLhsl(230, 59%, 46%)
HSVhsv(230, 74%, 74%)
CMYKcmyk(74.5%, 61.7%, 0%, 26.3%)
CIE-LABlab(35.78, 31.84, -63.60)
CIE-LCHlch(35.78, 71.12, 296.59°)
OKLaboklab(45.87% -0.0037 -0.1837)
OKLCHoklch(45.87% 0.184 268.8)
XYZxyz(12.6103, 8.8926, 48.6191)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3048BC #BCA430
analogous
#308EBC #3048BC #5E30BC
triadic
#3048BC #BC3048 #48BC30
tetradic
#3048BC #BC308E #BCA430 #30BC5E
square
#3048BC #BC308E #BCA430 #30BC5E
split-complementary
#3048BC #BC5E30 #8EBC30
monochromatic
#17235A #24358B #3048BC #556BD4 #8696E0

Accessibility & contrast

On white

7.56
#3048BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3048BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3048BC
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3048BC#FFFFFF#000000##FFFFFF
##3048BC1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3048bc;
/* rgb */ color: rgb(48, 72, 188);
/* oklch */ color: oklch(45.9% 0.184 268.8);
Tailwind
colors: {
  custom: {
    50: '#7d7ad1',
    500: '#3048bc',
    950: '#000000',
  },
}
SCSS
$custom: #3048bc;
$custom-light: #7d7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#3048bc",
  "rgb": {
    "r": 48,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 229.714,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.45871,
    "c": 0.18379,
    "h": 268.8
  },
  "luminance": 0.08894
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3048BC

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

Preview Lab → · Contrast checker → · Palette generator →

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