#345A98#345A98

#345A98 is a mid, moderate blue. Relative luminance 0.103; OKLCH L 47.1% C 0.110 H 259.7°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#345A98
RGBrgb(52, 90, 152)
HSLhsl(217, 49%, 40%)
HSVhsv(217, 66%, 60%)
CMYKcmyk(65.8%, 40.8%, 0%, 40.4%)
CIE-LABlab(38.39, 7.27, -37.97)
CIE-LCHlch(38.39, 38.66, 280.84°)
OKLaboklab(47.1% -0.0196 -0.1081)
OKLCHoklch(47.1% 0.11 259.7)
XYZxyz(10.7378, 10.3084, 31.1235)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345A98 #987234
analogous
#348C98 #345A98 #403498
triadic
#345A98 #98345A #5A9834
tetradic
#345A98 #98348C #987234 #349840
square
#345A98 #98348C #987234 #349840
split-complementary
#345A98 #984034 #8C9834
monochromatic
#15243D #243F6A #345A98 #4976C1 #7698D0

Accessibility & contrast

On white

6.86
#345A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#345A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345A98
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345A98#FFFFFF#000000##FFFFFF
##345A981.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5F9A
Deuteranopia (green-blind)
#305697
Tritanopia (blue-blind)
#006871
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #345a98;
/* rgb */ color: rgb(52, 90, 152);
/* oklch */ color: oklch(47.1% 0.110 259.7);
Tailwind
colors: {
  custom: {
    50: '#7688b7',
    500: '#345a98',
    950: '#000000',
  },
}
SCSS
$custom: #345a98;
$custom-light: #7688b7;
$custom-dark: #000000;
JSON
{
  "hex": "#345a98",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 152
  },
  "hsl": {
    "h": 217.2,
    "s": 49.02,
    "l": 40
  },
  "oklch": {
    "l": 0.47103,
    "c": 0.10984,
    "h": 259.7
  },
  "luminance": 0.10309
}

Semantic roles & 50–950 ramp

primary
#345A98
secondary
#B99D6F
accent
#A44FD9
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345A98

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

Preview Lab → · Contrast checker → · Palette generator →

#345A98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva