#345271#345271

#345271 is a dark, moderate cyan. Relative luminance 0.080; OKLCH L 42.9% C 0.063 H 250.2°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#345271
RGBrgb(52, 82, 113)
HSLhsl(210, 37%, 32%)
HSVhsv(210, 54%, 44%)
CMYKcmyk(54%, 27.4%, 0%, 55.7%)
CIE-LABlab(33.89, -1.42, -21.18)
CIE-LCHlch(33.89, 21.22, 266.16°)
OKLaboklab(42.92% -0.0213 -0.0593)
OKLCHoklch(42.92% 0.063 250.2)
XYZxyz(7.4131, 7.9563, 16.7647)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#345271 #715334
analogous
#347171 #345271 #353471
triadic
#345271 #713452 #527134
tetradic
#345271 #713471 #715334 #347135
square
#345271 #713471 #715334 #347135
split-complementary
#345271 #713534 #717134
monochromatic
#0D151D #213447 #345271 #47709B #678FB9

Accessibility & contrast

On white

8.10
#345271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#345271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #345271
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##345271#FFFFFF#000000##FFFFFF
##3452711.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455372
Deuteranopia (green-blind)
#3E4D70
Tritanopia (blue-blind)
#14595D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #345271;
/* rgb */ color: rgb(52, 82, 113);
/* oklch */ color: oklch(42.9% 0.063 250.2);
Tailwind
colors: {
  custom: {
    50: '#70829a',
    500: '#345271',
    950: '#000000',
  },
}
SCSS
$custom: #345271;
$custom-light: #70829a;
$custom-dark: #000000;
JSON
{
  "hex": "#345271",
  "rgb": {
    "r": 52,
    "g": 82,
    "b": 113
  },
  "hsl": {
    "h": 210.492,
    "s": 36.97,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4292,
    "c": 0.06298,
    "h": 250.2
  },
  "luminance": 0.07957
}

Semantic roles & 50–950 ramp

primary
#345271
secondary
#A18160
accent
#955BCD
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#080A0E
muted
#7B7C7E

Preview Lab

Preview with #345271

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

Preview Lab → · Contrast checker → · Palette generator →

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