#345893#345893

#345893 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.3% C 0.105 H 259.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#345893
RGBrgb(52, 88, 147)
HSLhsl(217, 48%, 39%)
HSVhsv(217, 65%, 58%)
CMYKcmyk(64.6%, 40.1%, 0%, 42.4%)
CIE-LABlab(37.51, 6.74, -36.36)
CIE-LCHlch(37.51, 36.98, 280.50°)
OKLaboklab(46.33% -0.0186 -0.1034)
OKLCHoklch(46.33% 0.105 259.8)
XYZxyz(10.1705, 9.8151, 28.9566)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345893 #936F34
analogous
#348893 #345893 #403493
triadic
#345893 #933458 #589334
tetradic
#345893 #933488 #936F34 #349340
square
#345893 #933488 #936F34 #349340
split-complementary
#345893 #934034 #889334
monochromatic
#142239 #243D66 #345893 #4674BE #7496CE

Accessibility & contrast

On white

7.09
#345893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#345893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345893
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345893#FFFFFF#000000##FFFFFF
##3458931.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5D95
Deuteranopia (green-blind)
#305492
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #345893;
/* rgb */ color: rgb(52, 88, 147);
/* oklch */ color: oklch(46.3% 0.105 259.8);
Tailwind
colors: {
  custom: {
    50: '#7586b3',
    500: '#345893',
    950: '#000000',
  },
}
SCSS
$custom: #345893;
$custom-light: #7586b3;
$custom-dark: #000000;
JSON
{
  "hex": "#345893",
  "rgb": {
    "r": 52,
    "g": 88,
    "b": 147
  },
  "hsl": {
    "h": 217.263,
    "s": 47.739,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46326,
    "c": 0.10505,
    "h": 259.8
  },
  "luminance": 0.09816
}

Semantic roles & 50–950 ramp

primary
#345893
secondary
#B69A6D
accent
#A450D7
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #345893

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

Preview Lab → · Contrast checker → · Palette generator →

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