#345397#345397

#345397 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.4% C 0.117 H 263.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#345397
RGBrgb(52, 83, 151)
HSLhsl(221, 49%, 40%)
HSVhsv(221, 66%, 59%)
CMYKcmyk(65.6%, 45%, 0%, 40.8%)
CIE-LABlab(36.27, 11.47, -40.75)
CIE-LCHlch(36.27, 42.33, 285.72°)
OKLaboklab(45.45% -0.0124 -0.1163)
OKLCHoklch(45.45% 0.117 263.9)
XYZxyz(10.0934, 9.1500, 30.5064)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345397 #977834
analogous
#348597 #345397 #473497
triadic
#345397 #973453 #539734
tetradic
#345397 #973485 #977834 #349747
square
#345397 #973485 #977834 #349747
split-complementary
#345397 #974734 #859734
monochromatic
#15213C #243A69 #345397 #486EC0 #7692D0

Accessibility & contrast

On white

7.42
#345397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#345397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345397
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345397#FFFFFF#000000##FFFFFF
##3453971.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335A9A
Deuteranopia (green-blind)
#235196
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #345397;
/* rgb */ color: rgb(52, 83, 151);
/* oklch */ color: oklch(45.4% 0.117 263.9);
Tailwind
colors: {
  custom: {
    50: '#7682b6',
    500: '#345397',
    950: '#000000',
  },
}
SCSS
$custom: #345397;
$custom-light: #7682b6;
$custom-dark: #000000;
JSON
{
  "hex": "#345397",
  "rgb": {
    "r": 52,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 221.212,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45448,
    "c": 0.11699,
    "h": 263.9
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#345397
secondary
#B8A16F
accent
#AD4FD8
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #345397

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

Preview Lab → · Contrast checker → · Palette generator →

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