#345E8D#345E8D

#345E8D is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.4% C 0.090 H 252.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#345E8D
RGBrgb(52, 94, 141)
HSLhsl(212, 46%, 38%)
HSVhsv(212, 63%, 55%)
CMYKcmyk(63.1%, 33.3%, 0%, 44.7%)
CIE-LABlab(39.00, 0.74, -30.38)
CIE-LCHlch(39.00, 30.39, 271.40°)
OKLaboklab(47.38% -0.0269 -0.0858)
OKLCHoklch(47.38% 0.09 252.6)
XYZxyz(10.2249, 10.6576, 26.7124)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345E8D #8D6334
analogous
#348B8D #345E8D #36348D
triadic
#345E8D #8D345E #5E8D34
tetradic
#345E8D #8D348B #8D6334 #348D36
square
#345E8D #8D348B #8D6334 #348D36
split-complementary
#345E8D #8D3634 #8B8D34
monochromatic
#132234 #244060 #345E8D #447CBA #719BCB

Accessibility & contrast

On white

6.71
#345E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#345E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345E8D
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345E8D#FFFFFF#000000##FFFFFF
##345E8D1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A618F
Deuteranopia (green-blind)
#3E588C
Tritanopia (blue-blind)
#00696F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #345e8d;
/* rgb */ color: rgb(52, 94, 141);
/* oklch */ color: oklch(47.4% 0.090 252.6);
Tailwind
colors: {
  custom: {
    50: '#748bae',
    500: '#345e8d',
    950: '#000000',
  },
}
SCSS
$custom: #345e8d;
$custom-light: #748bae;
$custom-dark: #000000;
JSON
{
  "hex": "#345e8d",
  "rgb": {
    "r": 52,
    "g": 94,
    "b": 141
  },
  "hsl": {
    "h": 211.685,
    "s": 46.114,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47381,
    "c": 0.08997,
    "h": 252.6
  },
  "luminance": 0.10659
}

Semantic roles & 50–950 ramp

primary
#345E8D
secondary
#B3906A
accent
#9852D6
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #345E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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