#345989#345989

#345989 is a mid, moderate cyan. Relative luminance 0.097; OKLCH L 46.0% C 0.090 H 255.6°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#345989
RGBrgb(52, 89, 137)
HSLhsl(214, 45%, 37%)
HSVhsv(214, 62%, 54%)
CMYKcmyk(62%, 35%, 0%, 46.3%)
CIE-LABlab(37.26, 2.48, -30.69)
CIE-LCHlch(37.26, 30.79, 274.62°)
OKLaboklab(45.96% -0.0223 -0.0868)
OKLCHoklch(45.96% 0.09 255.6)
XYZxyz(9.5023, 9.6801, 25.0297)
Luminance0.0968 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345989 #896434
analogous
#348489 #345989 #393489
triadic
#345989 #893459 #598934
tetradic
#345989 #893484 #896434 #348939
square
#345989 #893484 #896434 #348939
split-complementary
#345989 #893934 #848934
monochromatic
#121F30 #233C5D #345989 #4576B5 #6F96C8

Accessibility & contrast

On white

7.15
#345989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#345989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345989
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345989#FFFFFF#000000##FFFFFF
##3459891.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455C8B
Deuteranopia (green-blind)
#395488
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #345989;
/* rgb */ color: rgb(52, 89, 137);
/* oklch */ color: oklch(46.0% 0.090 255.6);
Tailwind
colors: {
  custom: {
    50: '#7387ab',
    500: '#345989',
    950: '#000000',
  },
}
SCSS
$custom: #345989;
$custom-light: #7387ab;
$custom-dark: #000000;
JSON
{
  "hex": "#345989",
  "rgb": {
    "r": 52,
    "g": 89,
    "b": 137
  },
  "hsl": {
    "h": 213.882,
    "s": 44.974,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45955,
    "c": 0.08963,
    "h": 255.6
  },
  "luminance": 0.09681
}

Semantic roles & 50–950 ramp

primary
#345989
secondary
#B09168
accent
#9C53D5
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #345989

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

Preview Lab → · Contrast checker → · Palette generator →

#345989 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva