#334356#334356

#334356 is a dark, muted cyan. Relative luminance 0.054; OKLCH L 37.7% C 0.039 H 253.1°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#334356
RGBrgb(51, 67, 86)
HSLhsl(213, 26%, 27%)
HSVhsv(213, 41%, 34%)
CMYKcmyk(40.7%, 22.1%, 0%, 66.3%)
CIE-LABlab(27.82, -0.88, -13.40)
CIE-LCHlch(27.82, 13.42, 266.25°)
OKLaboklab(37.72% -0.0113 -0.037)
OKLCHoklch(37.72% 0.039 253.1)
XYZxyz(5.0516, 5.3897, 9.5764)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334356 #564633
analogous
#335556 #334356 #353356
triadic
#334356 #563343 #435633
tetradic
#334356 #563355 #564633 #335635
square
#334356 #563355 #564633 #335635
split-complementary
#334356 #563533 #555633
monochromatic
#0B0F13 #1C2530 #334356 #4A617C #627FA2

Accessibility & contrast

On white

10.11
#334356 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#334356 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334356
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334356#FFFFFF#000000##FFFFFF
##3343561.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4457
Deuteranopia (green-blind)
#384056
Tritanopia (blue-blind)
#274749
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #334356;
/* rgb */ color: rgb(51, 67, 86);
/* oklch */ color: oklch(37.7% 0.039 253.1);
Tailwind
colors: {
  custom: {
    50: '#6c7785',
    500: '#334356',
    950: '#000000',
  },
}
SCSS
$custom: #334356;
$custom-light: #6c7785;
$custom-dark: #000000;
JSON
{
  "hex": "#334356",
  "rgb": {
    "r": 51,
    "g": 67,
    "b": 86
  },
  "hsl": {
    "h": 212.571,
    "s": 25.547,
    "l": 26.863
  },
  "oklch": {
    "l": 0.37724,
    "c": 0.03873,
    "h": 253.1
  },
  "luminance": 0.0539
}

Semantic roles & 50–950 ramp

primary
#334356
secondary
#87745E
accent
#9866C2
background
#F6F7F8
surface
#EBEDEF
border
#C6C8CA
text
#07080B
muted
#7A7B7C

Preview Lab

Preview with #334356

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

Preview Lab → · Contrast checker → · Palette generator →

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