#345280#345280

#345280 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.8% C 0.084 H 258.7°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#345280
RGBrgb(52, 82, 128)
HSLhsl(216, 42%, 35%)
HSVhsv(216, 59%, 50%)
CMYKcmyk(59.4%, 35.9%, 0%, 49.8%)
CIE-LABlab(34.65, 3.78, -29.30)
CIE-LCHlch(34.65, 29.54, 277.35°)
OKLaboklab(43.76% -0.0166 -0.0828)
OKLCHoklch(43.76% 0.084 258.7)
XYZxyz(8.3284, 8.3225, 21.5854)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345280 #806234
analogous
#347880 #345280 #3C3480
triadic
#345280 #803452 #528034
tetradic
#345280 #803478 #806234 #34803C
square
#345280 #803478 #806234 #34803C
split-complementary
#345280 #803C34 #788034
monochromatic
#111A29 #223654 #345280 #466EAC #6B8EC3

Accessibility & contrast

On white

7.88
#345280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#345280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345280
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345280#FFFFFF#000000##FFFFFF
##3452801.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5582
Deuteranopia (green-blind)
#354E7F
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #345280;
/* rgb */ color: rgb(52, 82, 128);
/* oklch */ color: oklch(43.8% 0.084 258.7);
Tailwind
colors: {
  custom: {
    50: '#7282a5',
    500: '#345280',
    950: '#000000',
  },
}
SCSS
$custom: #345280;
$custom-light: #7282a5;
$custom-dark: #000000;
JSON
{
  "hex": "#345280",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 128
  },
  "hsl": {
    "h": 216.316,
    "s": 42.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43758,
    "c": 0.08446,
    "h": 258.7
  },
  "luminance": 0.08323
}

Semantic roles & 50–950 ramp

primary
#345280
secondary
#AB8F65
accent
#A156D2
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #345280

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

Preview Lab → · Contrast checker → · Palette generator →

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