#345295#345295

#345295 is a mid, moderate blue. Relative luminance 0.089; OKLCH L 45.1% C 0.115 H 264.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#345295
RGBrgb(52, 82, 149)
HSLhsl(221, 48%, 39%)
HSVhsv(221, 65%, 58%)
CMYKcmyk(65.1%, 45%, 0%, 41.6%)
CIE-LABlab(35.86, 11.39, -40.20)
CIE-LCHlch(35.86, 41.78, 285.82°)
OKLaboklab(45.09% -0.0117 -0.1147)
OKLCHoklch(45.09% 0.115 264.2)
XYZxyz(9.8564, 8.9337, 29.6329)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345295 #957734
analogous
#348395 #345295 #463495
triadic
#345295 #953452 #529534
tetradic
#345295 #953483 #957734 #349546
square
#345295 #953483 #957734 #349546
split-complementary
#345295 #954634 #839534
monochromatic
#14203A #243968 #345295 #476CBF #7591CF

Accessibility & contrast

On white

7.53
#345295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #345295
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345295#FFFFFF#000000##FFFFFF
##3452951.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325998
Deuteranopia (green-blind)
#235094
Tritanopia (blue-blind)
#00616C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #345295;
/* rgb */ color: rgb(52, 82, 149);
/* oklch */ color: oklch(45.1% 0.115 264.2);
Tailwind
colors: {
  custom: {
    50: '#7682b4',
    500: '#345295',
    950: '#000000',
  },
}
SCSS
$custom: #345295;
$custom-light: #7682b4;
$custom-dark: #000000;
JSON
{
  "hex": "#345295",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 149
  },
  "hsl": {
    "h": 221.443,
    "s": 48.259,
    "l": 39.412
  },
  "oklch": {
    "l": 0.45089,
    "c": 0.11534,
    "h": 264.2
  },
  "luminance": 0.08935
}

Semantic roles & 50–950 ramp

primary
#345295
secondary
#B7A06E
accent
#AE50D8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #345295

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

Preview Lab → · Contrast checker → · Palette generator →

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