#345394#345394

#345394 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.2% C 0.113 H 263.4°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#345394
RGBrgb(52, 83, 148)
HSLhsl(221, 48%, 39%)
HSVhsv(221, 65%, 58%)
CMYKcmyk(64.9%, 43.9%, 0%, 42%)
CIE-LABlab(36.09, 10.36, -39.23)
CIE-LCHlch(36.09, 40.57, 284.80°)
OKLaboklab(45.25% -0.013 -0.1119)
OKLCHoklch(45.25% 0.113 263.4)
XYZxyz(9.8529, 9.0538, 29.2395)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345394 #947534
analogous
#348394 #345394 #453494
triadic
#345394 #943453 #539434
tetradic
#345394 #943483 #947534 #349445
square
#345394 #943483 #947534 #349445
split-complementary
#345394 #944534 #839434
monochromatic
#142039 #243A67 #345394 #476DBE #7491CE

Accessibility & contrast

On white

7.47
#345394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #345394
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345394#FFFFFF#000000##FFFFFF
##3453941.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355A97
Deuteranopia (green-blind)
#265193
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #345394;
/* rgb */ color: rgb(52, 83, 148);
/* oklch */ color: oklch(45.2% 0.113 263.4);
Tailwind
colors: {
  custom: {
    50: '#7582b4',
    500: '#345394',
    950: '#000000',
  },
}
SCSS
$custom: #345394;
$custom-light: #7582b4;
$custom-dark: #000000;
JSON
{
  "hex": "#345394",
  "rgb": {
    "r": 52,
    "g": 83,
    "b": 148
  },
  "hsl": {
    "h": 220.625,
    "s": 48,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45247,
    "c": 0.11262,
    "h": 263.4
  },
  "luminance": 0.09055
}

Semantic roles & 50–950 ramp

primary
#345394
secondary
#B79F6D
accent
#AC50D8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #345394

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

Preview Lab → · Contrast checker → · Palette generator →

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