#345F8A#345F8A

#345F8A is a mid, moderate cyan. Relative luminance 0.107; OKLCH L 47.5% C 0.085 H 250.0°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#345F8A
RGBrgb(52, 95, 138)
HSLhsl(210, 45%, 37%)
HSVhsv(210, 62%, 54%)
CMYKcmyk(62.3%, 31.2%, 0%, 45.9%)
CIE-LABlab(39.15, -0.95, -28.32)
CIE-LCHlch(39.15, 28.34, 268.08°)
OKLaboklab(47.45% -0.029 -0.0799)
OKLCHoklch(47.45% 0.085 250)
XYZxyz(10.0942, 10.7485, 25.5825)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345F8A #8A5F34
analogous
#348A8A #345F8A #34348A
triadic
#345F8A #8A345F #5F8A34
tetradic
#345F8A #8A348A #8A5F34 #348A34
square
#345F8A #8A348A #8A5F34 #348A34
split-complementary
#345F8A #8A3434 #8A8A34
monochromatic
#132231 #23405E #345F8A #457EB6 #6F9CC9

Accessibility & contrast

On white

6.67
#345F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#345F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345F8A
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345F8A#FFFFFF#000000##FFFFFF
##345F8A1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D618C
Deuteranopia (green-blind)
#415889
Tritanopia (blue-blind)
#00696E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #345f8a;
/* rgb */ color: rgb(52, 95, 138);
/* oklch */ color: oklch(47.5% 0.085 250.0);
Tailwind
colors: {
  custom: {
    50: '#748cac',
    500: '#345f8a',
    950: '#000000',
  },
}
SCSS
$custom: #345f8a;
$custom-light: #748cac;
$custom-dark: #000000;
JSON
{
  "hex": "#345f8a",
  "rgb": {
    "r": 52,
    "g": 95,
    "b": 138
  },
  "hsl": {
    "h": 210,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47454,
    "c": 0.08496,
    "h": 250
  },
  "luminance": 0.10749
}

Semantic roles & 50–950 ramp

primary
#345F8A
secondary
#B18D69
accent
#9453D5
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F

Preview Lab

Preview with #345F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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