#345299#345299

#345299 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.4% C 0.121 H 264.8°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#345299
RGBrgb(52, 82, 153)
HSLhsl(222, 49%, 40%)
HSVhsv(222, 66%, 60%)
CMYKcmyk(66%, 46.4%, 0%, 40%)
CIE-LABlab(36.11, 12.86, -42.22)
CIE-LCHlch(36.11, 44.13, 286.94°)
OKLaboklab(45.36% -0.011 -0.1207)
OKLCHoklch(45.36% 0.121 264.8)
XYZxyz(10.1812, 9.0636, 31.3437)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345299 #997B34
analogous
#348499 #345299 #483499
triadic
#345299 #993452 #529934
tetradic
#345299 #993484 #997B34 #349948
square
#345299 #993484 #997B34 #349948
split-complementary
#345299 #994834 #849934
monochromatic
#15213E #243A6B #345299 #496DC1 #7791D1

Accessibility & contrast

On white

7.47
#345299 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#345299 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345299
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345299#FFFFFF#000000##FFFFFF
##3452991.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5A9C
Deuteranopia (green-blind)
#1D5198
Tritanopia (blue-blind)
#00626E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #345299;
/* rgb */ color: rgb(52, 82, 153);
/* oklch */ color: oklch(45.4% 0.121 264.8);
Tailwind
colors: {
  custom: {
    50: '#7682b7',
    500: '#345299',
    950: '#000000',
  },
}
SCSS
$custom: #345299;
$custom-light: #7682b7;
$custom-dark: #000000;
JSON
{
  "hex": "#345299",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 153
  },
  "hsl": {
    "h": 222.178,
    "s": 49.268,
    "l": 40.196
  },
  "oklch": {
    "l": 0.45362,
    "c": 0.12117,
    "h": 264.8
  },
  "luminance": 0.09065
}

Semantic roles & 50–950 ramp

primary
#345299
secondary
#B9A370
accent
#B04FD9
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #345299

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

Preview Lab → · Contrast checker → · Palette generator →

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