#345589#345589

#345589 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.0% C 0.094 H 259.2°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#345589
RGBrgb(52, 85, 137)
HSLhsl(217, 45%, 37%)
HSVhsv(217, 62%, 54%)
CMYKcmyk(62%, 38%, 0%, 46.3%)
CIE-LABlab(36.05, 5.05, -32.60)
CIE-LCHlch(36.05, 32.99, 278.81°)
OKLaboklab(45.01% -0.0177 -0.0924)
OKLCHoklch(45.01% 0.094 259.2)
XYZxyz(9.1784, 9.0324, 24.9218)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345589 #896834
analogous
#348089 #345589 #3E3489
triadic
#345589 #893455 #558934
tetradic
#345589 #893480 #896834 #34893E
square
#345589 #893480 #896834 #34893E
split-complementary
#345589 #893E34 #808934
monochromatic
#121E30 #23395D #345589 #4571B5 #6F92C8

Accessibility & contrast

On white

7.48
#345589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#345589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345589
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345589#FFFFFF#000000##FFFFFF
##3455891.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F598B
Deuteranopia (green-blind)
#345188
Tritanopia (blue-blind)
#006168
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #345589;
/* rgb */ color: rgb(52, 85, 137);
/* oklch */ color: oklch(45.0% 0.094 259.2);
Tailwind
colors: {
  custom: {
    50: '#7384ac',
    500: '#345589',
    950: '#000000',
  },
}
SCSS
$custom: #345589;
$custom-light: #7384ac;
$custom-dark: #000000;
JSON
{
  "hex": "#345589",
  "rgb": {
    "r": 52,
    "g": 85,
    "b": 137
  },
  "hsl": {
    "h": 216.706,
    "s": 44.974,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45008,
    "c": 0.09412,
    "h": 259.2
  },
  "luminance": 0.09033
}

Semantic roles & 50–950 ramp

primary
#345589
secondary
#B09468
accent
#A253D5
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #345589

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

Preview Lab → · Contrast checker → · Palette generator →

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