#345892#345892

#345892 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.3% C 0.104 H 259.5°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#345892
RGBrgb(52, 88, 146)
HSLhsl(217, 47%, 39%)
HSVhsv(217, 64%, 57%)
CMYKcmyk(64.4%, 39.7%, 0%, 42.7%)
CIE-LABlab(37.45, 6.37, -35.84)
CIE-LCHlch(37.45, 36.41, 280.08°)
OKLaboklab(46.26% -0.0188 -0.1019)
OKLCHoklch(46.26% 0.104 259.5)
XYZxyz(10.0924, 9.7839, 28.5452)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345892 #926E34
analogous
#348792 #345892 #3F3492
triadic
#345892 #923458 #589234
tetradic
#345892 #923487 #926E34 #34923F
square
#345892 #923487 #926E34 #34923F
split-complementary
#345892 #923F34 #879234
monochromatic
#142238 #243D65 #345892 #4674BD #7396CD

Accessibility & contrast

On white

7.10
#345892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#345892 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345892
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345892#FFFFFF#000000##FFFFFF
##3458921.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5D94
Deuteranopia (green-blind)
#315491
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #345892;
/* rgb */ color: rgb(52, 88, 146);
/* oklch */ color: oklch(46.3% 0.104 259.5);
Tailwind
colors: {
  custom: {
    50: '#7586b2',
    500: '#345892',
    950: '#000000',
  },
}
SCSS
$custom: #345892;
$custom-light: #7586b2;
$custom-dark: #000000;
JSON
{
  "hex": "#345892",
  "rgb": {
    "r": 52,
    "g": 88,
    "b": 146
  },
  "hsl": {
    "h": 217.021,
    "s": 47.475,
    "l": 38.824
  },
  "oklch": {
    "l": 0.46264,
    "c": 0.10361,
    "h": 259.5
  },
  "luminance": 0.09785
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #345892

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

Preview Lab → · Contrast checker → · Palette generator →

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