#3548AB#3548AB

#3548AB is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.7% C 0.159 H 270.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#3548AB
RGBrgb(53, 72, 171)
HSLhsl(230, 53%, 44%)
HSVhsv(230, 69%, 67%)
CMYKcmyk(69%, 57.9%, 0%, 32.9%)
CIE-LABlab(34.66, 26.27, -55.34)
CIE-LCHlch(34.66, 61.26, 295.40°)
OKLaboklab(44.69% 0.0011 -0.1594)
OKLCHoklch(44.69% 0.159 270.4)
XYZxyz(11.1337, 8.3308, 39.5414)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3548AB #AB9835
analogous
#3583AB #3548AB #5D35AB
triadic
#3548AB #AB3548 #48AB35
tetradic
#3548AB #AB3583 #AB9835 #35AB5D
square
#3548AB #AB3583 #AB9835 #35AB5D
split-complementary
#3548AB #AB5D35 #83AB35
monochromatic
#18214E #27347C #3548AB #5366CA #8290D8

Accessibility & contrast

On white

7.88
#3548AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3548AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3548AB
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3548AB#FFFFFF#000000##FFFFFF
##3548AB1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#006072
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3548ab;
/* rgb */ color: rgb(53, 72, 171);
/* oklch */ color: oklch(44.7% 0.159 270.4);
Tailwind
colors: {
  custom: {
    50: '#7b7ac5',
    500: '#3548ab',
    950: '#000000',
  },
}
SCSS
$custom: #3548ab;
$custom-light: #7b7ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#3548ab",
  "rgb": {
    "r": 53,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 230.339,
    "s": 52.679,
    "l": 43.922
  },
  "oklch": {
    "l": 0.44685,
    "c": 0.1594,
    "h": 270.4
  },
  "luminance": 0.08332
}

Semantic roles & 50–950 ramp

primary
#3548AB
secondary
#C2B67A
accent
#C54CDC
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3548AB

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

Preview Lab → · Contrast checker → · Palette generator →

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