#345899#345899

#345899 is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.7% C 0.114 H 261.3°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#345899
RGBrgb(52, 88, 153)
HSLhsl(219, 49%, 40%)
HSVhsv(219, 66%, 60%)
CMYKcmyk(66%, 42.5%, 0%, 40%)
CIE-LABlab(37.86, 8.93, -39.42)
CIE-LCHlch(37.86, 40.42, 282.77°)
OKLaboklab(46.71% -0.0173 -0.1124)
OKLCHoklch(46.71% 0.114 261.3)
XYZxyz(10.6536, 10.0084, 31.5012)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345899 #997534
analogous
#348A99 #345899 #433499
triadic
#345899 #993458 #589934
tetradic
#345899 #99348A #997534 #349943
square
#345899 #99348A #997534 #349943
split-complementary
#345899 #994334 #8A9934
monochromatic
#15233E #243E6B #345899 #4974C1 #7797D1

Accessibility & contrast

On white

7.00
#345899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#345899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345899
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345899#FFFFFF#000000##FFFFFF
##3458991.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5E9C
Deuteranopia (green-blind)
#2B5598
Tritanopia (blue-blind)
#006771
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #345899;
/* rgb */ color: rgb(52, 88, 153);
/* oklch */ color: oklch(46.7% 0.114 261.3);
Tailwind
colors: {
  custom: {
    50: '#7686b7',
    500: '#345899',
    950: '#000000',
  },
}
SCSS
$custom: #345899;
$custom-light: #7686b7;
$custom-dark: #000000;
JSON
{
  "hex": "#345899",
  "rgb": {
    "r": 52,
    "g": 88,
    "b": 153
  },
  "hsl": {
    "h": 218.614,
    "s": 49.268,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4671,
    "c": 0.11368,
    "h": 261.3
  },
  "luminance": 0.10009
}

Semantic roles & 50–950 ramp

primary
#345899
secondary
#B99F70
accent
#A84FD9
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345899

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

Preview Lab → · Contrast checker → · Palette generator →

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