#3548B4#3548B4

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

Color values

HEX#3548B4
RGBrgb(53, 72, 180)
HSLhsl(231, 55%, 46%)
HSVhsv(231, 71%, 71%)
CMYKcmyk(70.6%, 60%, 0%, 29.4%)
CIE-LABlab(35.37, 29.55, -59.53)
CIE-LCHlch(35.37, 66.46, 296.40°)
OKLaboklab(45.44% 0.0012 -0.1717)
OKLCHoklch(45.44% 0.172 270.4)
XYZxyz(12.0210, 8.6857, 44.2142)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3548B4 #B4A135
analogous
#3587B4 #3548B4 #6235B4
triadic
#3548B4 #B43548 #48B435
tetradic
#3548B4 #B43587 #B4A135 #35B462
square
#3548B4 #B43587 #B4A135 #35B462
split-complementary
#3548B4 #B46235 #87B435
monochromatic
#192255 #273585 #3548B4 #586ACE #8894DC

Accessibility & contrast

On white

7.67
#3548B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3548B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3548B4
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3548B4#FFFFFF#000000##FFFFFF
##3548B41.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)
#0059B8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3548b4;
/* rgb */ color: rgb(53, 72, 180);
/* oklch */ color: oklch(45.4% 0.172 270.4);
Tailwind
colors: {
  custom: {
    50: '#7d7acb',
    500: '#3548b4',
    950: '#000000',
  },
}
SCSS
$custom: #3548b4;
$custom-light: #7d7acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3548b4",
  "rgb": {
    "r": 53,
    "g": 72,
    "b": 180
  },
  "hsl": {
    "h": 231.024,
    "s": 54.506,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45436,
    "c": 0.17171,
    "h": 270.4
  },
  "luminance": 0.08687
}

Semantic roles & 50–950 ramp

primary
#3548B4
secondary
#C6BB7F
accent
#C84ADE
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3548B4

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

Preview Lab → · Contrast checker → · Palette generator →

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