#345896#345896

#345896 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.5% C 0.109 H 260.6°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#345896
RGBrgb(52, 88, 150)
HSLhsl(218, 49%, 40%)
HSVhsv(218, 65%, 59%)
CMYKcmyk(65.3%, 41.3%, 0%, 41.2%)
CIE-LABlab(37.68, 7.83, -37.89)
CIE-LCHlch(37.68, 38.70, 281.68°)
OKLaboklab(46.52% -0.0179 -0.1079)
OKLCHoklch(46.52% 0.109 260.6)
XYZxyz(10.4090, 9.9105, 30.2126)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345896 #967234
analogous
#348996 #345896 #413496
triadic
#345896 #963458 #589634
tetradic
#345896 #963489 #967234 #349641
square
#345896 #963489 #967234 #349641
split-complementary
#345896 #964134 #899634
monochromatic
#14233B #243D69 #345896 #4874BF #7596CF

Accessibility & contrast

On white

7.04
#345896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#345896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345896
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345896#FFFFFF#000000##FFFFFF
##3458961.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5E98
Deuteranopia (green-blind)
#2E5495
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #345896;
/* rgb */ color: rgb(52, 88, 150);
/* oklch */ color: oklch(46.5% 0.109 260.6);
Tailwind
colors: {
  custom: {
    50: '#7686b5',
    500: '#345896',
    950: '#000000',
  },
}
SCSS
$custom: #345896;
$custom-light: #7686b5;
$custom-dark: #000000;
JSON
{
  "hex": "#345896",
  "rgb": {
    "r": 52,
    "g": 88,
    "b": 150
  },
  "hsl": {
    "h": 217.959,
    "s": 48.515,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46516,
    "c": 0.10937,
    "h": 260.6
  },
  "luminance": 0.09912
}

Semantic roles & 50–950 ramp

primary
#345896
secondary
#B89D6E
accent
#A650D8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345896

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

Preview Lab → · Contrast checker → · Palette generator →

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