#345294#345294

#345294 is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.0% C 0.114 H 264.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#345294
RGBrgb(52, 82, 148)
HSLhsl(221, 48%, 39%)
HSVhsv(221, 65%, 58%)
CMYKcmyk(64.9%, 44.6%, 0%, 42%)
CIE-LABlab(35.79, 11.02, -39.69)
CIE-LCHlch(35.79, 41.20, 285.52°)
OKLaboklab(45.02% -0.0119 -0.1133)
OKLCHoklch(45.02% 0.114 264)
XYZxyz(9.7769, 8.9019, 29.2142)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345294 #947634
analogous
#348294 #345294 #463494
triadic
#345294 #943452 #529434
tetradic
#345294 #943482 #947634 #349446
square
#345294 #943482 #947634 #349446
split-complementary
#345294 #944634 #829434
monochromatic
#142039 #243967 #345294 #476CBE #7490CE

Accessibility & contrast

On white

7.55
#345294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#345294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345294
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345294#FFFFFF#000000##FFFFFF
##3452941.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335997
Deuteranopia (green-blind)
#245093
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #345294;
/* rgb */ color: rgb(52, 82, 148);
/* oklch */ color: oklch(45.0% 0.114 264.0);
Tailwind
colors: {
  custom: {
    50: '#7582b4',
    500: '#345294',
    950: '#000000',
  },
}
SCSS
$custom: #345294;
$custom-light: #7582b4;
$custom-dark: #000000;
JSON
{
  "hex": "#345294",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 148
  },
  "hsl": {
    "h": 221.25,
    "s": 48,
    "l": 39.216
  },
  "oklch": {
    "l": 0.45021,
    "c": 0.11389,
    "h": 264
  },
  "luminance": 0.08903
}

Semantic roles & 50–950 ramp

primary
#345294
secondary
#B7A06D
accent
#AD50D8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #345294

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

Preview Lab → · Contrast checker → · Palette generator →

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