#345A8F#345A8F

#345A8F is a mid, moderate cyan. Relative luminance 0.100; OKLCH L 46.5% C 0.097 H 257.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#345A8F
RGBrgb(52, 90, 143)
HSLhsl(215, 47%, 38%)
HSVhsv(215, 64%, 56%)
CMYKcmyk(63.6%, 37.1%, 0%, 43.9%)
CIE-LABlab(37.89, 4.00, -33.34)
CIE-LCHlch(37.89, 33.58, 276.84°)
OKLaboklab(46.55% -0.0218 -0.0945)
OKLCHoklch(46.55% 0.097 257)
XYZxyz(10.0285, 10.0246, 27.3877)
Luminance0.1003 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345A8F #8F6934
analogous
#34878F #345A8F #3B348F
triadic
#345A8F #8F345A #5A8F34
tetradic
#345A8F #8F3487 #8F6934 #348F3B
square
#345A8F #8F3487 #8F6934 #348F3B
split-complementary
#345A8F #8F3B34 #878F34
monochromatic
#132235 #243E62 #345A8F #4576BB #7297CC

Accessibility & contrast

On white

6.99
#345A8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#345A8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #345A8F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345A8F#FFFFFF#000000##FFFFFF
##345A8F1.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435E91
Deuteranopia (green-blind)
#37558E
Tritanopia (blue-blind)
#00666D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #345a8f;
/* rgb */ color: rgb(52, 90, 143);
/* oklch */ color: oklch(46.5% 0.097 257.0);
Tailwind
colors: {
  custom: {
    50: '#7488b0',
    500: '#345a8f',
    950: '#000000',
  },
}
SCSS
$custom: #345a8f;
$custom-light: #7488b0;
$custom-dark: #000000;
JSON
{
  "hex": "#345a8f",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 143
  },
  "hsl": {
    "h": 214.945,
    "s": 46.667,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46547,
    "c": 0.09702,
    "h": 257
  },
  "luminance": 0.10026
}

Semantic roles & 50–950 ramp

primary
#345A8F
secondary
#B4956B
accent
#9F51D6
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #345A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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