#345992#345992

#345992 is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.5% C 0.102 H 258.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#345992
RGBrgb(52, 89, 146)
HSLhsl(216, 47%, 39%)
HSVhsv(216, 64%, 57%)
CMYKcmyk(64.4%, 39%, 0%, 42.7%)
CIE-LABlab(37.75, 5.73, -35.37)
CIE-LCHlch(37.75, 35.83, 279.20°)
OKLaboklab(46.5% -0.0199 -0.1005)
OKLCHoklch(46.5% 0.102 258.8)
XYZxyz(10.1750, 9.9492, 28.5727)
Luminance0.0995 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345992 #926D34
analogous
#348892 #345992 #3E3492
triadic
#345992 #923459 #599234
tetradic
#345992 #923488 #926D34 #34923E
square
#345992 #923488 #926D34 #34923E
split-complementary
#345992 #923E34 #889234
monochromatic
#142238 #243D65 #345992 #4675BD #7397CD

Accessibility & contrast

On white

7.02
#345992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#345992 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345992
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345992#FFFFFF#000000##FFFFFF
##3459921.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405E94
Deuteranopia (green-blind)
#335591
Tritanopia (blue-blind)
#00666E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #345992;
/* rgb */ color: rgb(52, 89, 146);
/* oklch */ color: oklch(46.5% 0.102 258.8);
Tailwind
colors: {
  custom: {
    50: '#7587b2',
    500: '#345992',
    950: '#000000',
  },
}
SCSS
$custom: #345992;
$custom-light: #7587b2;
$custom-dark: #000000;
JSON
{
  "hex": "#345992",
  "rgb": {
    "r": 52,
    "g": 89,
    "b": 146
  },
  "hsl": {
    "h": 216.383,
    "s": 47.475,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46496,
    "c": 0.10244,
    "h": 258.8
  },
  "luminance": 0.0995
}

Semantic roles & 50–950 ramp

primary
#345992
secondary
#B5996C
accent
#A251D7
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345992

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

Preview Lab → · Contrast checker → · Palette generator →

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