#345287#345287

#345287 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.2% C 0.095 H 261.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#345287
RGBrgb(52, 82, 135)
HSLhsl(218, 44%, 37%)
HSVhsv(218, 61%, 53%)
CMYKcmyk(61.5%, 39.3%, 0%, 47.1%)
CIE-LABlab(35.03, 6.28, -32.99)
CIE-LCHlch(35.03, 33.59, 280.78°)
OKLaboklab(44.18% -0.0147 -0.0936)
OKLCHoklch(44.18% 0.095 261)
XYZxyz(8.8051, 8.5132, 24.0962)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345287 #876934
analogous
#347C87 #345287 #403487
triadic
#345287 #873452 #528734
tetradic
#345287 #87347C #876934 #348740
square
#345287 #87347C #876934 #348740
split-complementary
#345287 #874034 #7C8734
monochromatic
#121C2F #23375B #345287 #456DB3 #6E8EC7

Accessibility & contrast

On white

7.77
#345287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#345287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345287
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345287#FFFFFF#000000##FFFFFF
##3452871.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5789
Deuteranopia (green-blind)
#304F86
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #345287;
/* rgb */ color: rgb(52, 82, 135);
/* oklch */ color: oklch(44.2% 0.095 261.0);
Tailwind
colors: {
  custom: {
    50: '#7382aa',
    500: '#345287',
    950: '#000000',
  },
}
SCSS
$custom: #345287;
$custom-light: #7382aa;
$custom-dark: #000000;
JSON
{
  "hex": "#345287",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 135
  },
  "hsl": {
    "h": 218.313,
    "s": 44.385,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44182,
    "c": 0.09476,
    "h": 261
  },
  "luminance": 0.08514
}

Semantic roles & 50–950 ramp

primary
#345287
secondary
#AF9567
accent
#A654D4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #345287

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

Preview Lab → · Contrast checker → · Palette generator →

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