#334256#334256

#334256 is a dark, muted cyan. Relative luminance 0.053; OKLCH L 37.5% C 0.040 H 255.8°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#334256
RGBrgb(51, 66, 86)
HSLhsl(214, 26%, 27%)
HSVhsv(214, 41%, 34%)
CMYKcmyk(40.7%, 23.3%, 0%, 66.3%)
CIE-LABlab(27.50, -0.23, -13.89)
CIE-LCHlch(27.50, 13.89, 269.06°)
OKLaboklab(37.47% -0.0097 -0.0384)
OKLCHoklch(37.47% 0.04 255.8)
XYZxyz(4.9926, 5.2719, 9.5568)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334256 #564733
analogous
#335456 #334256 #363356
triadic
#334256 #563342 #425633
tetradic
#334256 #563354 #564733 #335636
square
#334256 #563354 #564733 #335636
split-complementary
#334256 #563633 #545633
monochromatic
#0B0F13 #1C2530 #334256 #4A5F7C #627DA2

Accessibility & contrast

On white

10.22
#334256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#334256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334256
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334256#FFFFFF#000000##FFFFFF
##3342561.0010.222.0510.22
#FFFFFF10.221.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4357
Deuteranopia (green-blind)
#373F56
Tritanopia (blue-blind)
#274649
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #334256;
/* rgb */ color: rgb(51, 66, 86);
/* oklch */ color: oklch(37.5% 0.040 255.8);
Tailwind
colors: {
  custom: {
    50: '#6c7685',
    500: '#334256',
    950: '#000000',
  },
}
SCSS
$custom: #334256;
$custom-light: #6c7685;
$custom-dark: #000000;
JSON
{
  "hex": "#334256",
  "rgb": {
    "r": 51,
    "g": 66,
    "b": 86
  },
  "hsl": {
    "h": 214.286,
    "s": 25.547,
    "l": 26.863
  },
  "oklch": {
    "l": 0.37471,
    "c": 0.03967,
    "h": 255.8
  },
  "luminance": 0.05272
}

Semantic roles & 50–950 ramp

primary
#334256
secondary
#87755E
accent
#9A66C2
background
#F6F7F8
surface
#EBEDEF
border
#C6C8CA
text
#07080B
muted
#7A7B7C

Preview Lab

Preview with #334256

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

Preview Lab → · Contrast checker → · Palette generator →

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