#345298#345298

#345298 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.3% C 0.120 H 264.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#345298
RGBrgb(52, 82, 152)
HSLhsl(222, 49%, 40%)
HSVhsv(222, 66%, 60%)
CMYKcmyk(65.8%, 46.1%, 0%, 40.4%)
CIE-LABlab(36.04, 12.49, -41.72)
CIE-LCHlch(36.04, 43.55, 286.67°)
OKLaboklab(45.29% -0.0112 -0.1192)
OKLCHoklch(45.29% 0.12 264.6)
XYZxyz(10.0990, 9.0307, 30.9106)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345298 #987A34
analogous
#348498 #345298 #483498
triadic
#345298 #983452 #529834
tetradic
#345298 #983484 #987A34 #349848
square
#345298 #983484 #987A34 #349848
split-complementary
#345298 #984834 #849834
monochromatic
#15213D #24396A #345298 #496DC1 #7691D0

Accessibility & contrast

On white

7.48
#345298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #345298
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345298#FFFFFF#000000##FFFFFF
##3452981.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305A9B
Deuteranopia (green-blind)
#1F5197
Tritanopia (blue-blind)
#00626D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #345298;
/* rgb */ color: rgb(52, 82, 152);
/* oklch */ color: oklch(45.3% 0.120 264.6);
Tailwind
colors: {
  custom: {
    50: '#7682b7',
    500: '#345298',
    950: '#000000',
  },
}
SCSS
$custom: #345298;
$custom-light: #7682b7;
$custom-dark: #000000;
JSON
{
  "hex": "#345298",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 152
  },
  "hsl": {
    "h": 222,
    "s": 49.02,
    "l": 40
  },
  "oklch": {
    "l": 0.45293,
    "c": 0.11972,
    "h": 264.6
  },
  "luminance": 0.09032
}

Semantic roles & 50–950 ramp

primary
#345298
secondary
#B9A36F
accent
#AF4FD9
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #345298

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

Preview Lab → · Contrast checker → · Palette generator →

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