#3545A8#3545A8

#3545A8 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.159 H 271.3°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#3545A8
RGBrgb(53, 69, 168)
HSLhsl(232, 52%, 43%)
HSVhsv(232, 68%, 66%)
CMYKcmyk(68.5%, 58.9%, 0%, 34.1%)
CIE-LABlab(33.65, 27.15, -55.20)
CIE-LCHlch(33.65, 61.52, 296.19°)
OKLaboklab(43.85% 0.0036 -0.159)
OKLCHoklch(43.85% 0.159 271.3)
XYZxyz(10.6618, 7.8393, 37.9895)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3545A8 #A89835
analogous
#357EA8 #3545A8 #5E35A8
triadic
#3545A8 #A83545 #45A835
tetradic
#3545A8 #A8357E #A89835 #35A85E
square
#3545A8 #A8357E #A89835 #35A85E
split-complementary
#3545A8 #A85E35 #7EA835
monochromatic
#181F4B #263279 #3545A8 #5262C8 #808CD7

Accessibility & contrast

On white

8.18
#3545A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3545A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3545A8
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3545A8#FFFFFF#000000##FFFFFF
##3545A81.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#004AA6
Tritanopia (blue-blind)
#005D6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3545a8;
/* rgb */ color: rgb(53, 69, 168);
/* oklch */ color: oklch(43.9% 0.159 271.3);
Tailwind
colors: {
  custom: {
    50: '#7b78c3',
    500: '#3545a8',
    950: '#000000',
  },
}
SCSS
$custom: #3545a8;
$custom-light: #7b78c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3545a8",
  "rgb": {
    "r": 53,
    "g": 69,
    "b": 168
  },
  "hsl": {
    "h": 231.652,
    "s": 52.036,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43854,
    "c": 0.15906,
    "h": 271.3
  },
  "luminance": 0.0784
}

Semantic roles & 50–950 ramp

primary
#3545A8
secondary
#C0B678
accent
#C84CDB
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #3545A8

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

Preview Lab → · Contrast checker → · Palette generator →

#3545A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva