#345487#345487

#345487 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.7% C 0.092 H 259.4°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#345487
RGBrgb(52, 84, 135)
HSLhsl(217, 44%, 37%)
HSVhsv(217, 61%, 53%)
CMYKcmyk(61.5%, 37.8%, 0%, 47.1%)
CIE-LABlab(35.63, 4.98, -32.04)
CIE-LCHlch(35.63, 32.42, 278.84°)
OKLaboklab(44.65% -0.0171 -0.0908)
OKLCHoklch(44.65% 0.092 259.4)
XYZxyz(8.9581, 8.8192, 24.1472)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345487 #876734
analogous
#347E87 #345487 #3D3487
triadic
#345487 #873454 #548734
tetradic
#345487 #87347E #876734 #34873D
square
#345487 #87347E #876734 #34873D
split-complementary
#345487 #873D34 #7E8734
monochromatic
#121D2F #23395B #345487 #456FB3 #6E91C7

Accessibility & contrast

On white

7.60
#345487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#345487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345487
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345487#FFFFFF#000000##FFFFFF
##3454871.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5889
Deuteranopia (green-blind)
#335086
Tritanopia (blue-blind)
#005F67
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #345487;
/* rgb */ color: rgb(52, 84, 135);
/* oklch */ color: oklch(44.7% 0.092 259.4);
Tailwind
colors: {
  custom: {
    50: '#7383aa',
    500: '#345487',
    950: '#000000',
  },
}
SCSS
$custom: #345487;
$custom-light: #7383aa;
$custom-dark: #000000;
JSON
{
  "hex": "#345487",
  "rgb": {
    "r": 52,
    "g": 84,
    "b": 135
  },
  "hsl": {
    "h": 216.867,
    "s": 44.385,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44651,
    "c": 0.09238,
    "h": 259.4
  },
  "luminance": 0.0882
}

Semantic roles & 50–950 ramp

primary
#345487
secondary
#AF9467
accent
#A354D4
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #345487

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

Preview Lab → · Contrast checker → · Palette generator →

#345487 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva