#345D8A#345D8A

#345D8A is a mid, moderate cyan. Relative luminance 0.104; OKLCH L 47.0% C 0.087 H 252.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#345D8A
RGBrgb(52, 93, 138)
HSLhsl(211, 45%, 37%)
HSVhsv(211, 62%, 54%)
CMYKcmyk(62.3%, 32.6%, 0%, 45.9%)
CIE-LABlab(38.54, 0.30, -29.29)
CIE-LCHlch(38.54, 29.29, 270.59°)
OKLaboklab(46.97% -0.0267 -0.0827)
OKLCHoklch(46.97% 0.087 252.1)
XYZxyz(9.9163, 10.3928, 25.5233)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345D8A #8A6134
analogous
#34888A #345D8A #36348A
triadic
#345D8A #8A345D #5D8A34
tetradic
#345D8A #8A3488 #8A6134 #348A36
square
#345D8A #8A3488 #8A6134 #348A36
split-complementary
#345D8A #8A3634 #888A34
monochromatic
#132131 #233F5E #345D8A #457BB6 #6F9AC9

Accessibility & contrast

On white

6.82
#345D8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#345D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345D8A
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345D8A#FFFFFF#000000##FFFFFF
##345D8A1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5F8C
Deuteranopia (green-blind)
#3E5789
Tritanopia (blue-blind)
#00676D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #345d8a;
/* rgb */ color: rgb(52, 93, 138);
/* oklch */ color: oklch(47.0% 0.087 252.1);
Tailwind
colors: {
  custom: {
    50: '#748aac',
    500: '#345d8a',
    950: '#000000',
  },
}
SCSS
$custom: #345d8a;
$custom-light: #748aac;
$custom-dark: #000000;
JSON
{
  "hex": "#345d8a",
  "rgb": {
    "r": 52,
    "g": 93,
    "b": 138
  },
  "hsl": {
    "h": 211.395,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46971,
    "c": 0.08688,
    "h": 252.1
  },
  "luminance": 0.10394
}

Semantic roles & 50–950 ramp

primary
#345D8A
secondary
#B18F69
accent
#9753D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #345D8A

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

Preview Lab → · Contrast checker → · Palette generator →

#345D8A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva