#345282#345282

#345282 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 43.9% C 0.087 H 259.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#345282
RGBrgb(52, 82, 130)
HSLhsl(217, 43%, 36%)
HSVhsv(217, 60%, 51%)
CMYKcmyk(60%, 36.9%, 0%, 49%)
CIE-LABlab(34.75, 4.49, -30.36)
CIE-LCHlch(34.75, 30.69, 278.42°)
OKLaboklab(43.88% -0.016 -0.0859)
OKLCHoklch(43.88% 0.087 259.4)
XYZxyz(8.4613, 8.3756, 22.2855)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345282 #826434
analogous
#347982 #345282 #3D3482
triadic
#345282 #823452 #528234
tetradic
#345282 #823479 #826434 #34823D
square
#345282 #823479 #826434 #34823D
split-complementary
#345282 #823D34 #798234
monochromatic
#111B2B #233656 #345282 #456EAE #6C8EC4

Accessibility & contrast

On white

7.85
#345282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#345282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345282
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345282#FFFFFF#000000##FFFFFF
##3452821.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5684
Deuteranopia (green-blind)
#344E81
Tritanopia (blue-blind)
#005D64
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #345282;
/* rgb */ color: rgb(52, 82, 130);
/* oklch */ color: oklch(43.9% 0.087 259.4);
Tailwind
colors: {
  custom: {
    50: '#7282a6',
    500: '#345282',
    950: '#000000',
  },
}
SCSS
$custom: #345282;
$custom-light: #7282a6;
$custom-dark: #000000;
JSON
{
  "hex": "#345282",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 130
  },
  "hsl": {
    "h": 216.923,
    "s": 42.857,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43877,
    "c": 0.08739,
    "h": 259.4
  },
  "luminance": 0.08376
}

Semantic roles & 50–950 ramp

primary
#345282
secondary
#AC9165
accent
#A255D3
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #345282

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

Preview Lab → · Contrast checker → · Palette generator →

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