#345784#345784

#345784 is a mid, moderate cyan. Relative luminance 0.092; OKLCH L 45.2% C 0.085 H 255.3°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#345784
RGBrgb(52, 87, 132)
HSLhsl(214, 43%, 36%)
HSVhsv(214, 61%, 52%)
CMYKcmyk(60.6%, 34.1%, 0%, 48.2%)
CIE-LABlab(36.39, 1.98, -29.01)
CIE-LCHlch(36.39, 29.08, 273.91°)
OKLaboklab(45.19% -0.0214 -0.0819)
OKLCHoklch(45.19% 0.085 255.3)
XYZxyz(8.9878, 9.2116, 23.1297)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345784 #846134
analogous
#347F84 #345784 #393484
triadic
#345784 #843457 #578434
tetradic
#345784 #84347F #846134 #348439
square
#345784 #84347F #846134 #348439
split-complementary
#345784 #843934 #7F8434
monochromatic
#111D2C #233A58 #345784 #4574B0 #6D94C5

Accessibility & contrast

On white

7.39
#345784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#345784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345784
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345784#FFFFFF#000000##FFFFFF
##3457841.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445A86
Deuteranopia (green-blind)
#3A5283
Tritanopia (blue-blind)
#006167
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #345784;
/* rgb */ color: rgb(52, 87, 132);
/* oklch */ color: oklch(45.2% 0.085 255.3);
Tailwind
colors: {
  custom: {
    50: '#7386a8',
    500: '#345784',
    950: '#000000',
  },
}
SCSS
$custom: #345784;
$custom-light: #7386a8;
$custom-dark: #000000;
JSON
{
  "hex": "#345784",
  "rgb": {
    "r": 52,
    "g": 87,
    "b": 132
  },
  "hsl": {
    "h": 213.75,
    "s": 43.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45187,
    "c": 0.08469,
    "h": 255.3
  },
  "luminance": 0.09212
}

Semantic roles & 50–950 ramp

primary
#345784
secondary
#AE8E66
accent
#9C55D3
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #345784

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

Preview Lab → · Contrast checker → · Palette generator →

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