#345288#345288

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

Color values

HEX#345288
RGBrgb(52, 82, 136)
HSLhsl(219, 45%, 37%)
HSVhsv(219, 62%, 53%)
CMYKcmyk(61.8%, 39.7%, 0%, 46.7%)
CIE-LABlab(35.09, 6.65, -33.51)
CIE-LCHlch(35.09, 34.17, 281.22°)
OKLaboklab(44.24% -0.0145 -0.0951)
OKLCHoklch(44.24% 0.096 261.3)
XYZxyz(8.8759, 8.5415, 24.4687)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345288 #886A34
analogous
#347C88 #345288 #403488
triadic
#345288 #883452 #528834
tetradic
#345288 #88347C #886A34 #348840
square
#345288 #88347C #886A34 #348840
split-complementary
#345288 #884034 #7C8834
monochromatic
#121D2F #23375C #345288 #456DB4 #6F8EC8

Accessibility & contrast

On white

7.75
#345288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#345288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345288
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345288#FFFFFF#000000##FFFFFF
##3452881.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #345288;
/* rgb */ color: rgb(52, 82, 136);
/* oklch */ color: oklch(44.2% 0.096 261.3);
Tailwind
colors: {
  custom: {
    50: '#7382ab',
    500: '#345288',
    950: '#000000',
  },
}
SCSS
$custom: #345288;
$custom-light: #7382ab;
$custom-dark: #000000;
JSON
{
  "hex": "#345288",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 136
  },
  "hsl": {
    "h": 218.571,
    "s": 44.681,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44244,
    "c": 0.09624,
    "h": 261.3
  },
  "luminance": 0.08542
}

Semantic roles & 50–950 ramp

primary
#345288
secondary
#B09668
accent
#A653D4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #345288

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

Preview Lab → · Contrast checker → · Palette generator →

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