#3548B8#3548B8

#3548B8 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.8% C 0.177 H 270.4°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#3548B8
RGBrgb(53, 72, 184)
HSLhsl(231, 55%, 46%)
HSVhsv(231, 71%, 72%)
CMYKcmyk(71.2%, 60.9%, 0%, 27.8%)
CIE-LABlab(35.70, 31.00, -61.36)
CIE-LCHlch(35.70, 68.75, 296.80°)
OKLaboklab(45.78% 0.0011 -0.1771)
OKLCHoklch(45.78% 0.177 270.4)
XYZxyz(12.4343, 8.8511, 46.3912)
Luminance0.0885 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3548B8 #B8A535
analogous
#358AB8 #3548B8 #6435B8
triadic
#3548B8 #B83548 #48B835
tetradic
#3548B8 #B8358A #B8A535 #35B864
square
#3548B8 #B8358A #B8A535 #35B864
split-complementary
#3548B8 #B86435 #8AB835
monochromatic
#1A2359 #273588 #3548B8 #5B6CD0 #8A96DD

Accessibility & contrast

On white

7.58
#3548B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#3548B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3548B8
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3548B8#FFFFFF#000000##FFFFFF
##3548B81.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABC
Deuteranopia (green-blind)
#004EB6
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3548b8;
/* rgb */ color: rgb(53, 72, 184);
/* oklch */ color: oklch(45.8% 0.177 270.4);
Tailwind
colors: {
  custom: {
    50: '#7e7ace',
    500: '#3548b8',
    950: '#000000',
  },
}
SCSS
$custom: #3548b8;
$custom-light: #7e7ace;
$custom-dark: #000000;
JSON
{
  "hex": "#3548b8",
  "rgb": {
    "r": 53,
    "g": 72,
    "b": 184
  },
  "hsl": {
    "h": 231.298,
    "s": 55.274,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45777,
    "c": 0.17709,
    "h": 270.4
  },
  "luminance": 0.08852
}

Semantic roles & 50–950 ramp

primary
#3548B8
secondary
#C7BD81
accent
#C949DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #3548B8

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

Preview Lab → · Contrast checker → · Palette generator →

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