#345E8A#345E8A

#345E8A is a mid, moderate cyan. Relative luminance 0.106; OKLCH L 47.2% C 0.086 H 251.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#345E8A
RGBrgb(52, 94, 138)
HSLhsl(211, 45%, 37%)
HSVhsv(211, 62%, 54%)
CMYKcmyk(62.3%, 31.9%, 0%, 45.9%)
CIE-LABlab(38.85, -0.32, -28.80)
CIE-LCHlch(38.85, 28.80, 269.35°)
OKLaboklab(47.21% -0.0278 -0.0813)
OKLCHoklch(47.21% 0.086 251.1)
XYZxyz(10.0047, 10.5695, 25.5527)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345E8A #8A6034
analogous
#34898A #345E8A #35348A
triadic
#345E8A #8A345E #5E8A34
tetradic
#345E8A #8A3489 #8A6034 #348A35
square
#345E8A #8A3489 #8A6034 #348A35
split-complementary
#345E8A #8A3534 #898A34
monochromatic
#132131 #23405E #345E8A #457CB6 #6F9BC9

Accessibility & contrast

On white

6.74
#345E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#345E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345E8A
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345E8A#FFFFFF#000000##FFFFFF
##345E8A1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B608C
Deuteranopia (green-blind)
#405889
Tritanopia (blue-blind)
#00686E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #345e8a;
/* rgb */ color: rgb(52, 94, 138);
/* oklch */ color: oklch(47.2% 0.086 251.1);
Tailwind
colors: {
  custom: {
    50: '#748bac',
    500: '#345e8a',
    950: '#000000',
  },
}
SCSS
$custom: #345e8a;
$custom-light: #748bac;
$custom-dark: #000000;
JSON
{
  "hex": "#345e8a",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 138
  },
  "hsl": {
    "h": 210.698,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47212,
    "c": 0.0859,
    "h": 251.1
  },
  "luminance": 0.1057
}

Semantic roles & 50–950 ramp

primary
#345E8A
secondary
#B18E69
accent
#9553D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #345E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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