#345189#345189

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

Color values

HEX#345189
RGBrgb(52, 81, 137)
HSLhsl(220, 45%, 37%)
HSVhsv(220, 62%, 54%)
CMYKcmyk(62%, 40.9%, 0%, 46.3%)
CIE-LABlab(34.84, 7.66, -34.51)
CIE-LCHlch(34.84, 35.35, 282.52°)
OKLaboklab(44.08% -0.0131 -0.0981)
OKLCHoklch(44.08% 0.099 262.4)
XYZxyz(8.8724, 8.4203, 24.8198)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345189 #896C34
analogous
#347C89 #345189 #413489
triadic
#345189 #893451 #518934
tetradic
#345189 #89347C #896C34 #348941
square
#345189 #89347C #896C34 #348941
split-complementary
#345189 #894134 #7C8934
monochromatic
#121D30 #23375D #345189 #456BB5 #6F8EC8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##345189#FFFFFF#000000##FFFFFF
##3451891.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39568B
Deuteranopia (green-blind)
#2D4E88
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #345189;
/* rgb */ color: rgb(52, 81, 137);
/* oklch */ color: oklch(44.1% 0.099 262.4);
Tailwind
colors: {
  custom: {
    50: '#7381ac',
    500: '#345189',
    950: '#000000',
  },
}
SCSS
$custom: #345189;
$custom-light: #7381ac;
$custom-dark: #000000;
JSON
{
  "hex": "#345189",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 137
  },
  "hsl": {
    "h": 219.529,
    "s": 44.974,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44075,
    "c": 0.09894,
    "h": 262.4
  },
  "luminance": 0.08421
}

Semantic roles & 50–950 ramp

primary
#345189
secondary
#B09868
accent
#A853D5
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #345189

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

Preview Lab → · Contrast checker → · Palette generator →

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