#3548A5#3548A5

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

Color values

HEX#3548A5
RGBrgb(53, 72, 165)
HSLhsl(230, 51%, 43%)
HSVhsv(230, 68%, 65%)
CMYKcmyk(67.9%, 56.4%, 0%, 35.3%)
CIE-LABlab(34.21, 24.08, -52.50)
CIE-LCHlch(34.21, 57.76, 294.64°)
OKLaboklab(44.2% 0.0009 -0.151)
OKLCHoklch(44.2% 0.151 270.3)
XYZxyz(10.5748, 8.1072, 36.5976)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3548A5 #A59235
analogous
#3580A5 #3548A5 #5A35A5
triadic
#3548A5 #A53548 #48A535
tetradic
#3548A5 #A53580 #A59235 #35A55A
square
#3548A5 #A53580 #A59235 #35A55A
split-complementary
#3548A5 #A55A35 #80A535
monochromatic
#172048 #263477 #3548A5 #5064C7 #7F8DD6

Accessibility & contrast

On white

8.01
#3548A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3548A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3548A5
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3548A5#FFFFFF#000000##FFFFFF
##3548A51.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#004CA3
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3548a5;
/* rgb */ color: rgb(53, 72, 165);
/* oklch */ color: oklch(44.2% 0.151 270.3);
Tailwind
colors: {
  custom: {
    50: '#7a7ac0',
    500: '#3548a5',
    950: '#000000',
  },
}
SCSS
$custom: #3548a5;
$custom-light: #7a7ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#3548a5",
  "rgb": {
    "r": 53,
    "g": 72,
    "b": 165
  },
  "hsl": {
    "h": 229.821,
    "s": 51.376,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44199,
    "c": 0.15103,
    "h": 270.3
  },
  "luminance": 0.08108
}

Semantic roles & 50–950 ramp

primary
#3548A5
secondary
#BFB377
accent
#C34DDB
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3548A5

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

Preview Lab → · Contrast checker → · Palette generator →

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