#3248B4#3248B4

#3248B4 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.173 H 269.4°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#3248B4
RGBrgb(50, 72, 180)
HSLhsl(230, 57%, 45%)
HSVhsv(230, 72%, 71%)
CMYKcmyk(72.2%, 60%, 0%, 29.4%)
CIE-LABlab(35.22, 29.15, -59.79)
CIE-LCHlch(35.22, 66.52, 295.99°)
OKLaboklab(45.28% -0.0018 -0.1725)
OKLCHoklch(45.28% 0.173 269.4)
XYZxyz(11.8681, 8.6069, 44.2070)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3248B4 #B49E32
analogous
#3289B4 #3248B4 #5D32B4
triadic
#3248B4 #B43248 #48B432
tetradic
#3248B4 #B43289 #B49E32 #32B45D
square
#3248B4 #B43289 #B49E32 #32B45D
split-complementary
#3248B4 #B45D32 #89B432
monochromatic
#172254 #253584 #3248B4 #5469CF #8493DD

Accessibility & contrast

On white

7.72
#3248B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#3248B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3248B4
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3248B4#FFFFFF#000000##FFFFFF
##3248B41.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3248b4;
/* rgb */ color: rgb(50, 72, 180);
/* oklch */ color: oklch(45.3% 0.173 269.4);
Tailwind
colors: {
  custom: {
    50: '#7c7acb',
    500: '#3248b4',
    950: '#000000',
  },
}
SCSS
$custom: #3248b4;
$custom-light: #7c7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3248b4",
  "rgb": {
    "r": 50,
    "g": 72,
    "b": 180
  },
  "hsl": {
    "h": 229.846,
    "s": 56.522,
    "l": 45.098
  },
  "oklch": {
    "l": 0.45278,
    "c": 0.17255,
    "h": 269.4
  },
  "luminance": 0.08608
}

Semantic roles & 50–950 ramp

primary
#3248B4
secondary
#C6BA7C
accent
#C648E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3248B4

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

Preview Lab → · Contrast checker → · Palette generator →

#3248B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva