#345284#345284

#345284 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.0% C 0.090 H 260.1°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#345284
RGBrgb(52, 82, 132)
HSLhsl(218, 43%, 36%)
HSVhsv(218, 61%, 52%)
CMYKcmyk(60.6%, 37.9%, 0%, 48.2%)
CIE-LABlab(34.86, 5.21, -31.42)
CIE-LCHlch(34.86, 31.84, 279.41°)
OKLaboklab(44% -0.0155 -0.089)
OKLCHoklch(44% 0.09 260.1)
XYZxyz(8.5969, 8.4299, 22.9994)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345284 #846634
analogous
#347A84 #345284 #3E3484
triadic
#345284 #843452 #528434
tetradic
#345284 #84347A #846634 #34843E
square
#345284 #84347A #846634 #34843E
split-complementary
#345284 #843E34 #7A8434
monochromatic
#111B2C #233758 #345284 #456DB0 #6D8EC5

Accessibility & contrast

On white

7.82
#345284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #345284
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345284#FFFFFF#000000##FFFFFF
##3452841.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5686
Deuteranopia (green-blind)
#334F83
Tritanopia (blue-blind)
#005D64
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #345284;
/* rgb */ color: rgb(52, 82, 132);
/* oklch */ color: oklch(44.0% 0.090 260.1);
Tailwind
colors: {
  custom: {
    50: '#7382a8',
    500: '#345284',
    950: '#000000',
  },
}
SCSS
$custom: #345284;
$custom-light: #7382a8;
$custom-dark: #000000;
JSON
{
  "hex": "#345284",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 132
  },
  "hsl": {
    "h": 217.5,
    "s": 43.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43998,
    "c": 0.09034,
    "h": 260.1
  },
  "luminance": 0.08431
}

Semantic roles & 50–950 ramp

primary
#345284
secondary
#AE9366
accent
#A455D3
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #345284

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

Preview Lab → · Contrast checker → · Palette generator →

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