#345A8A#345A8A

#345A8A is a mid, moderate cyan. Relative luminance 0.099; OKLCH L 46.3% C 0.090 H 255.0°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#345A8A
RGBrgb(52, 90, 138)
HSLhsl(213, 45%, 37%)
HSVhsv(213, 62%, 54%)
CMYKcmyk(62.3%, 34.8%, 0%, 45.9%)
CIE-LABlab(37.62, 2.20, -30.73)
CIE-LCHlch(37.62, 30.81, 274.10°)
OKLaboklab(46.25% -0.0232 -0.0869)
OKLCHoklch(46.25% 0.09 255)
XYZxyz(9.6581, 9.8765, 25.4372)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345A8A #8A6434
analogous
#34858A #345A8A #39348A
triadic
#345A8A #8A345A #5A8A34
tetradic
#345A8A #8A3485 #8A6434 #348A39
square
#345A8A #8A3485 #8A6434 #348A39
split-complementary
#345A8A #8A3934 #858A34
monochromatic
#132031 #233D5E #345A8A #4577B6 #6F97C9

Accessibility & contrast

On white

7.06
#345A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#345A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345A8A
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345A8A#FFFFFF#000000##FFFFFF
##345A8A1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465D8C
Deuteranopia (green-blind)
#3A5589
Tritanopia (blue-blind)
#00656B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #345a8a;
/* rgb */ color: rgb(52, 90, 138);
/* oklch */ color: oklch(46.3% 0.090 255.0);
Tailwind
colors: {
  custom: {
    50: '#7488ac',
    500: '#345a8a',
    950: '#000000',
  },
}
SCSS
$custom: #345a8a;
$custom-light: #7488ac;
$custom-dark: #000000;
JSON
{
  "hex": "#345a8a",
  "rgb": {
    "r": 52,
    "g": 90,
    "b": 138
  },
  "hsl": {
    "h": 213.488,
    "s": 45.263,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46252,
    "c": 0.08996,
    "h": 255
  },
  "luminance": 0.09877
}

Semantic roles & 50–950 ramp

primary
#345A8A
secondary
#B19169
accent
#9B53D5
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #345A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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