#345894#345894

#345894 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.4% C 0.106 H 260.1°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#345894
RGBrgb(52, 88, 148)
HSLhsl(218, 48%, 39%)
HSVhsv(218, 65%, 58%)
CMYKcmyk(64.9%, 40.5%, 0%, 42%)
CIE-LABlab(37.57, 7.10, -36.87)
CIE-LCHlch(37.57, 37.55, 280.90°)
OKLaboklab(46.39% -0.0184 -0.1049)
OKLCHoklch(46.39% 0.106 260.1)
XYZxyz(10.2493, 9.8467, 29.3717)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345894 #947034
analogous
#348894 #345894 #403494
triadic
#345894 #943458 #589434
tetradic
#345894 #943488 #947034 #349440
square
#345894 #943488 #947034 #349440
split-complementary
#345894 #944034 #889434
monochromatic
#142239 #243D67 #345894 #4774BE #7496CE

Accessibility & contrast

On white

7.07
#345894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#345894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345894
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345894#FFFFFF#000000##FFFFFF
##3458941.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5D96
Deuteranopia (green-blind)
#305493
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #345894;
/* rgb */ color: rgb(52, 88, 148);
/* oklch */ color: oklch(46.4% 0.106 260.1);
Tailwind
colors: {
  custom: {
    50: '#7586b4',
    500: '#345894',
    950: '#000000',
  },
}
SCSS
$custom: #345894;
$custom-light: #7586b4;
$custom-dark: #000000;
JSON
{
  "hex": "#345894",
  "rgb": {
    "r": 52,
    "g": 88,
    "b": 148
  },
  "hsl": {
    "h": 217.5,
    "s": 48,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46389,
    "c": 0.10649,
    "h": 260.1
  },
  "luminance": 0.09848
}

Semantic roles & 50–950 ramp

primary
#345894
secondary
#B79B6D
accent
#A550D8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345894

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

Preview Lab → · Contrast checker → · Palette generator →

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