#345296#345296

#345296 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.2% C 0.117 H 264.3°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#345296
RGBrgb(52, 82, 150)
HSLhsl(222, 49%, 40%)
HSVhsv(222, 65%, 59%)
CMYKcmyk(65.3%, 45.3%, 0%, 41.2%)
CIE-LABlab(35.92, 11.76, -40.71)
CIE-LCHlch(35.92, 42.37, 286.11°)
OKLaboklab(45.16% -0.0115 -0.1162)
OKLCHoklch(45.16% 0.117 264.3)
XYZxyz(9.9366, 8.9657, 30.0552)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345296 #967834
analogous
#348396 #345296 #473496
triadic
#345296 #963452 #529634
tetradic
#345296 #963483 #967834 #349647
square
#345296 #963483 #967834 #349647
split-complementary
#345296 #964734 #839634
monochromatic
#14203B #243969 #345296 #486CBF #7591CF

Accessibility & contrast

On white

7.52
#345296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#345296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345296
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345296#FFFFFF#000000##FFFFFF
##3452961.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325999
Deuteranopia (green-blind)
#225095
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #345296;
/* rgb */ color: rgb(52, 82, 150);
/* oklch */ color: oklch(45.2% 0.117 264.3);
Tailwind
colors: {
  custom: {
    50: '#7682b5',
    500: '#345296',
    950: '#000000',
  },
}
SCSS
$custom: #345296;
$custom-light: #7682b5;
$custom-dark: #000000;
JSON
{
  "hex": "#345296",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 221.633,
    "s": 48.515,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45156,
    "c": 0.1168,
    "h": 264.3
  },
  "luminance": 0.08967
}

Semantic roles & 50–950 ramp

primary
#345296
secondary
#B8A16E
accent
#AE50D8
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #345296

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

Preview Lab → · Contrast checker → · Palette generator →

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