#345497#345497

#345497 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.7% C 0.116 H 263.3°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#345497
RGBrgb(52, 84, 151)
HSLhsl(221, 49%, 40%)
HSVhsv(221, 66%, 59%)
CMYKcmyk(65.6%, 44.4%, 0%, 40.8%)
CIE-LABlab(36.56, 10.81, -40.28)
CIE-LCHlch(36.56, 41.71, 285.02°)
OKLaboklab(45.67% -0.0135 -0.1149)
OKLCHoklch(45.67% 0.116 263.3)
XYZxyz(10.1705, 9.3041, 30.5321)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345497 #977734
analogous
#348697 #345497 #463497
triadic
#345497 #973454 #549734
tetradic
#345497 #973486 #977734 #349746
square
#345497 #973486 #977734 #349746
split-complementary
#345497 #974634 #869734
monochromatic
#15213C #243B69 #345497 #486FC0 #7693D0

Accessibility & contrast

On white

7.34
#345497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#345497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345497
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345497#FFFFFF#000000##FFFFFF
##3454971.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355B9A
Deuteranopia (green-blind)
#255296
Tritanopia (blue-blind)
#00636E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #345497;
/* rgb */ color: rgb(52, 84, 151);
/* oklch */ color: oklch(45.7% 0.116 263.3);
Tailwind
colors: {
  custom: {
    50: '#7683b6',
    500: '#345497',
    950: '#000000',
  },
}
SCSS
$custom: #345497;
$custom-light: #7683b6;
$custom-dark: #000000;
JSON
{
  "hex": "#345497",
  "rgb": {
    "r": 52,
    "g": 84,
    "b": 151
  },
  "hsl": {
    "h": 220.606,
    "s": 48.768,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45672,
    "c": 0.11574,
    "h": 263.3
  },
  "luminance": 0.09305
}

Semantic roles & 50–950 ramp

primary
#345497
secondary
#B8A06F
accent
#AC4FD8
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #345497

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

Preview Lab → · Contrast checker → · Palette generator →

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