#345494#345494

#345494 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.5% C 0.111 H 262.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#345494
RGBrgb(52, 84, 148)
HSLhsl(220, 48%, 39%)
HSVhsv(220, 65%, 58%)
CMYKcmyk(64.9%, 43.2%, 0%, 42%)
CIE-LABlab(36.38, 9.71, -38.76)
CIE-LCHlch(36.38, 39.95, 284.06°)
OKLaboklab(45.47% -0.0141 -0.1105)
OKLCHoklch(45.47% 0.111 262.7)
XYZxyz(9.9299, 9.2079, 29.2652)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345494 #947434
analogous
#348494 #345494 #443494
triadic
#345494 #943454 #549434
tetradic
#345494 #943484 #947434 #349444
square
#345494 #943484 #947434 #349444
split-complementary
#345494 #944434 #849434
monochromatic
#142139 #243A67 #345494 #476FBE #7492CE

Accessibility & contrast

On white

7.39
#345494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#345494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345494
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345494#FFFFFF#000000##FFFFFF
##3454941.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375A96
Deuteranopia (green-blind)
#285193
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #345494;
/* rgb */ color: rgb(52, 84, 148);
/* oklch */ color: oklch(45.5% 0.111 262.7);
Tailwind
colors: {
  custom: {
    50: '#7583b4',
    500: '#345494',
    950: '#000000',
  },
}
SCSS
$custom: #345494;
$custom-light: #7583b4;
$custom-dark: #000000;
JSON
{
  "hex": "#345494",
  "rgb": {
    "r": 52,
    "g": 84,
    "b": 148
  },
  "hsl": {
    "h": 220,
    "s": 48,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45473,
    "c": 0.11137,
    "h": 262.7
  },
  "luminance": 0.09209
}

Semantic roles & 50–950 ramp

primary
#345494
secondary
#B79E6D
accent
#AA50D8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #345494

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

Preview Lab → · Contrast checker → · Palette generator →

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