#334C67#334C67

#334C67 is a dark, muted cyan. Relative luminance 0.069; OKLCH L 40.8% C 0.055 H 251.1°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#334C67
RGBrgb(51, 76, 103)
HSLhsl(211, 34%, 30%)
HSVhsv(211, 50%, 40%)
CMYKcmyk(50.5%, 26.2%, 0%, 59.6%)
CIE-LABlab(31.47, -1.21, -18.66)
CIE-LCHlch(31.47, 18.70, 266.28°)
OKLaboklab(40.84% -0.0178 -0.0521)
OKLCHoklch(40.84% 0.055 251.1)
XYZxyz(6.3970, 6.8515, 13.8147)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334C67 #674E33
analogous
#336667 #334C67 #343367
triadic
#334C67 #67334C #4C6733
tetradic
#334C67 #673366 #674E33 #336734
square
#334C67 #673366 #674E33 #336734
split-complementary
#334C67 #673433 #666733
monochromatic
#0A1015 #1F2E3E #334C67 #476A90 #6389B2

Accessibility & contrast

On white

8.86
#334C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#334C67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334C67
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334C67#FFFFFF#000000##FFFFFF
##334C671.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414D68
Deuteranopia (green-blind)
#3B4866
Tritanopia (blue-blind)
#1C5255
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #334c67;
/* rgb */ color: rgb(51, 76, 103);
/* oklch */ color: oklch(40.8% 0.055 251.1);
Tailwind
colors: {
  custom: {
    50: '#6e7d92',
    500: '#334c67',
    950: '#000000',
  },
}
SCSS
$custom: #334c67;
$custom-light: #6e7d92;
$custom-dark: #000000;
JSON
{
  "hex": "#334c67",
  "rgb": {
    "r": 51,
    "g": 76,
    "b": 103
  },
  "hsl": {
    "h": 211.154,
    "s": 33.766,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40844,
    "c": 0.05503,
    "h": 251.1
  },
  "luminance": 0.06852
}

Semantic roles & 50–950 ramp

primary
#334C67
secondary
#987C5E
accent
#965ECA
background
#F6F7F9
surface
#ECEEF1
border
#C7C9CB
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #334C67

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

Preview Lab → · Contrast checker → · Palette generator →

#334C67 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva