#3548A4#3548A4

#3548A4 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.1% C 0.150 H 270.3°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#3548A4
RGBrgb(53, 72, 164)
HSLhsl(230, 51%, 43%)
HSVhsv(230, 68%, 64%)
CMYKcmyk(67.7%, 56.1%, 0%, 35.7%)
CIE-LABlab(34.13, 23.71, -52.02)
CIE-LCHlch(34.13, 57.17, 294.51°)
OKLaboklab(44.12% 0.0008 -0.1496)
OKLCHoklch(44.12% 0.15 270.3)
XYZxyz(10.4841, 8.0710, 36.1201)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3548A4 #A49135
analogous
#357FA4 #3548A4 #5A35A4
triadic
#3548A4 #A43548 #48A435
tetradic
#3548A4 #A4357F #A49135 #35A45A
square
#3548A4 #A4357F #A49135 #35A45A
split-complementary
#3548A4 #A45A35 #7FA435
monochromatic
#171F47 #263476 #3548A4 #5064C6 #7E8DD5

Accessibility & contrast

On white

8.03
#3548A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3548A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3548A4
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3548A4#FFFFFF#000000##FFFFFF
##3548A41.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#004BA2
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3548a4;
/* rgb */ color: rgb(53, 72, 164);
/* oklch */ color: oklch(44.1% 0.150 270.3);
Tailwind
colors: {
  custom: {
    50: '#797ac0',
    500: '#3548a4',
    950: '#000000',
  },
}
SCSS
$custom: #3548a4;
$custom-light: #797ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#3548a4",
  "rgb": {
    "r": 53,
    "g": 72,
    "b": 164
  },
  "hsl": {
    "h": 229.73,
    "s": 51.152,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44119,
    "c": 0.14963,
    "h": 270.3
  },
  "luminance": 0.08072
}

Semantic roles & 50–950 ramp

primary
#3548A4
secondary
#BEB276
accent
#C24DDB
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3548A4

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

Preview Lab → · Contrast checker → · Palette generator →

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