#345491#345491

#345491 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.3% C 0.107 H 262.1°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#345491
RGBrgb(52, 84, 145)
HSLhsl(219, 47%, 39%)
HSVhsv(219, 64%, 57%)
CMYKcmyk(64.1%, 42.1%, 0%, 43.1%)
CIE-LABlab(36.20, 8.61, -37.22)
CIE-LCHlch(36.20, 38.21, 283.02°)
OKLaboklab(45.28% -0.0147 -0.106)
OKLCHoklch(45.28% 0.107 262.1)
XYZxyz(9.6955, 9.1142, 28.0308)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345491 #917134
analogous
#348291 #345491 #423491
triadic
#345491 #913454 #549134
tetradic
#345491 #913482 #917134 #349142
square
#345491 #913482 #917134 #349142
split-complementary
#345491 #914234 #829134
monochromatic
#142037 #243A64 #345491 #466FBD #7392CD

Accessibility & contrast

On white

7.44
#345491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#345491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345491
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345491#FFFFFF#000000##FFFFFF
##3454911.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395A93
Deuteranopia (green-blind)
#2B5190
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #345491;
/* rgb */ color: rgb(52, 84, 145);
/* oklch */ color: oklch(45.3% 0.107 262.1);
Tailwind
colors: {
  custom: {
    50: '#7583b1',
    500: '#345491',
    950: '#000000',
  },
}
SCSS
$custom: #345491;
$custom-light: #7583b1;
$custom-dark: #000000;
JSON
{
  "hex": "#345491",
  "rgb": {
    "r": 52,
    "g": 84,
    "b": 145
  },
  "hsl": {
    "h": 219.355,
    "s": 47.208,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45278,
    "c": 0.10699,
    "h": 262.1
  },
  "luminance": 0.09115
}

Semantic roles & 50–950 ramp

primary
#345491
secondary
#B59C6C
accent
#A951D7
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #345491

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

Preview Lab → · Contrast checker → · Palette generator →

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