#345098#345098

#345098 is a dark, vivid blue. Relative luminance 0.087; OKLCH L 44.9% C 0.122 H 265.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#345098
RGBrgb(52, 80, 152)
HSLhsl(223, 49%, 40%)
HSVhsv(223, 66%, 60%)
CMYKcmyk(65.8%, 47.4%, 0%, 40.4%)
CIE-LABlab(35.47, 13.82, -42.64)
CIE-LCHlch(35.47, 44.82, 287.95°)
OKLaboklab(44.85% -0.0091 -0.1219)
OKLCHoklch(44.85% 0.122 265.7)
XYZxyz(9.9504, 8.7335, 30.8610)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345098 #987C34
analogous
#348298 #345098 #4A3498
triadic
#345098 #983450 #509834
tetradic
#345098 #983482 #987C34 #34984A
square
#345098 #983482 #987C34 #34984A
split-complementary
#345098 #984A34 #829834
monochromatic
#15203D #24386A #345098 #496AC1 #768FD0

Accessibility & contrast

On white

7.65
#345098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#345098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345098
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345098#FFFFFF#000000##FFFFFF
##3450981.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589B
Deuteranopia (green-blind)
#1A4F97
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #345098;
/* rgb */ color: rgb(52, 80, 152);
/* oklch */ color: oklch(44.9% 0.122 265.7);
Tailwind
colors: {
  custom: {
    50: '#7680b7',
    500: '#345098',
    950: '#000000',
  },
}
SCSS
$custom: #345098;
$custom-light: #7680b7;
$custom-dark: #000000;
JSON
{
  "hex": "#345098",
  "rgb": {
    "r": 52,
    "g": 80,
    "b": 152
  },
  "hsl": {
    "h": 223.2,
    "s": 49.02,
    "l": 40
  },
  "oklch": {
    "l": 0.4485,
    "c": 0.12228,
    "h": 265.7
  },
  "luminance": 0.08734
}

Semantic roles & 50–950 ramp

primary
#345098
secondary
#B9A46F
accent
#B24FD9
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #345098

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

Preview Lab → · Contrast checker → · Palette generator →

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