#334A5C#334A5C

#334A5C is a dark, muted cyan. Relative luminance 0.064; OKLCH L 39.8% C 0.042 H 242.6°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#334A5C
RGBrgb(51, 74, 92)
HSLhsl(206, 29%, 28%)
HSVhsv(206, 45%, 36%)
CMYKcmyk(44.6%, 19.6%, 0%, 63.9%)
CIE-LABlab(30.34, -3.50, -13.40)
CIE-LCHlch(30.34, 13.85, 255.36°)
OKLaboklab(39.79% -0.0192 -0.0371)
OKLCHoklch(39.79% 0.042 242.6)
XYZxyz(5.7451, 6.3737, 11.0507)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334A5C #5C4533
analogous
#335C59 #334A5C #33365C
triadic
#334A5C #5C334A #4A5C33
tetradic
#334A5C #59335C #5C4533 #365C33
square
#334A5C #59335C #5C4533 #365C33
split-complementary
#334A5C #5C3336 #5C5933
monochromatic
#0B1014 #1D2A35 #334A5C #496A83 #6289A8

Accessibility & contrast

On white

9.23
#334A5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#334A5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334A5C
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334A5C#FFFFFF#000000##FFFFFF
##334A5C1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424A5D
Deuteranopia (green-blind)
#3D465C
Tritanopia (blue-blind)
#234E50
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #334a5c;
/* rgb */ color: rgb(51, 74, 92);
/* oklch */ color: oklch(39.8% 0.042 242.6);
Tailwind
colors: {
  custom: {
    50: '#6d7c8a',
    500: '#334a5c',
    950: '#000000',
  },
}
SCSS
$custom: #334a5c;
$custom-light: #6d7c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#334a5c",
  "rgb": {
    "r": 51,
    "g": 74,
    "b": 92
  },
  "hsl": {
    "h": 206.341,
    "s": 28.671,
    "l": 28.039
  },
  "oklch": {
    "l": 0.39793,
    "c": 0.04176,
    "h": 242.6
  },
  "luminance": 0.06374
}

Semantic roles & 50–950 ramp

primary
#334A5C
secondary
#8D735E
accent
#8E63C5
background
#F6F7F8
surface
#EBEEF0
border
#C6C9CB
text
#07090B
muted
#7A7B7C

Preview Lab

Preview with #334A5C

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

Preview Lab → · Contrast checker → · Palette generator →

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