#345285#345285

#345285 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.1% C 0.092 H 260.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#345285
RGBrgb(52, 82, 133)
HSLhsl(218, 44%, 36%)
HSVhsv(218, 61%, 52%)
CMYKcmyk(60.9%, 38.3%, 0%, 47.8%)
CIE-LABlab(34.92, 5.56, -31.94)
CIE-LCHlch(34.92, 32.42, 279.88°)
OKLaboklab(44.06% -0.0152 -0.0905)
OKLCHoklch(44.06% 0.092 260.4)
XYZxyz(8.6656, 8.4574, 23.3615)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345285 #856734
analogous
#347B85 #345285 #3F3485
triadic
#345285 #853452 #528534
tetradic
#345285 #85347B #856734 #34853F
square
#345285 #85347B #856734 #34853F
split-complementary
#345285 #853F34 #7B8534
monochromatic
#121C2D #233759 #345285 #456DB1 #6D8EC6

Accessibility & contrast

On white

7.80
#345285 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#345285 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345285
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345285#FFFFFF#000000##FFFFFF
##3452851.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5687
Deuteranopia (green-blind)
#324F84
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #345285;
/* rgb */ color: rgb(52, 82, 133);
/* oklch */ color: oklch(44.1% 0.092 260.4);
Tailwind
colors: {
  custom: {
    50: '#7382a9',
    500: '#345285',
    950: '#000000',
  },
}
SCSS
$custom: #345285;
$custom-light: #7382a9;
$custom-dark: #000000;
JSON
{
  "hex": "#345285",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 133
  },
  "hsl": {
    "h": 217.778,
    "s": 43.784,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44059,
    "c": 0.09182,
    "h": 260.4
  },
  "luminance": 0.08458
}

Semantic roles & 50–950 ramp

primary
#345285
secondary
#AE9467
accent
#A454D4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #345285

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

Preview Lab → · Contrast checker → · Palette generator →

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