#345199#345199

#345199 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.122 H 265.3°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#345199
RGBrgb(52, 81, 153)
HSLhsl(223, 49%, 40%)
HSVhsv(223, 66%, 60%)
CMYKcmyk(66%, 47.1%, 0%, 40%)
CIE-LABlab(35.82, 13.52, -42.68)
CIE-LCHlch(35.82, 44.77, 287.58°)
OKLaboklab(45.14% -0.01 -0.122)
OKLCHoklch(45.14% 0.122 265.3)
XYZxyz(10.1064, 8.9139, 31.3188)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345199 #997C34
analogous
#348499 #345199 #493499
triadic
#345199 #993451 #519934
tetradic
#345199 #993484 #997C34 #349949
square
#345199 #993484 #997C34 #349949
split-complementary
#345199 #994934 #849934
monochromatic
#15213E #24396B #345199 #496CC1 #7791D1

Accessibility & contrast

On white

7.55
#345199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#345199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345199
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345199#FFFFFF#000000##FFFFFF
##3451991.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D599C
Deuteranopia (green-blind)
#1B5098
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #345199;
/* rgb */ color: rgb(52, 81, 153);
/* oklch */ color: oklch(45.1% 0.122 265.3);
Tailwind
colors: {
  custom: {
    50: '#7681b7',
    500: '#345199',
    950: '#000000',
  },
}
SCSS
$custom: #345199;
$custom-light: #7681b7;
$custom-dark: #000000;
JSON
{
  "hex": "#345199",
  "rgb": {
    "r": 52,
    "g": 81,
    "b": 153
  },
  "hsl": {
    "h": 222.772,
    "s": 49.268,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45141,
    "c": 0.12245,
    "h": 265.3
  },
  "luminance": 0.08915
}

Semantic roles & 50–950 ramp

primary
#345199
secondary
#B9A470
accent
#B14FD9
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #345199

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

Preview Lab → · Contrast checker → · Palette generator →

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