#345993#345993

#345993 is a mid, moderate blue. Relative luminance 0.100; OKLCH L 46.6% C 0.104 H 259.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#345993
RGBrgb(52, 89, 147)
HSLhsl(217, 48%, 39%)
HSVhsv(217, 65%, 58%)
CMYKcmyk(64.6%, 39.5%, 0%, 42.4%)
CIE-LABlab(37.81, 6.09, -35.88)
CIE-LCHlch(37.81, 36.40, 279.63°)
OKLaboklab(46.56% -0.0197 -0.102)
OKLCHoklch(46.56% 0.104 259.1)
XYZxyz(10.2531, 9.9804, 28.9842)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345993 #936E34
analogous
#348993 #345993 #3F3493
triadic
#345993 #933459 #599334
tetradic
#345993 #933489 #936E34 #34933F
square
#345993 #933489 #936E34 #34933F
split-complementary
#345993 #933F34 #899334
monochromatic
#142239 #243E66 #345993 #4675BE #7497CE

Accessibility & contrast

On white

7.01
#345993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#345993 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345993
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345993#FFFFFF#000000##FFFFFF
##3459931.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405E95
Deuteranopia (green-blind)
#325592
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #345993;
/* rgb */ color: rgb(52, 89, 147);
/* oklch */ color: oklch(46.6% 0.104 259.1);
Tailwind
colors: {
  custom: {
    50: '#7587b3',
    500: '#345993',
    950: '#000000',
  },
}
SCSS
$custom: #345993;
$custom-light: #7587b3;
$custom-dark: #000000;
JSON
{
  "hex": "#345993",
  "rgb": {
    "r": 52,
    "g": 89,
    "b": 147
  },
  "hsl": {
    "h": 216.632,
    "s": 47.739,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46558,
    "c": 0.10388,
    "h": 259.1
  },
  "luminance": 0.09981
}

Semantic roles & 50–950 ramp

primary
#345993
secondary
#B6996D
accent
#A350D7
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345993

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

Preview Lab → · Contrast checker → · Palette generator →

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