#334B66#334B66

#334B66 is a dark, muted cyan. Relative luminance 0.067; OKLCH L 40.5% C 0.055 H 252.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#334B66
RGBrgb(51, 75, 102)
HSLhsl(212, 33%, 30%)
HSVhsv(212, 50%, 40%)
CMYKcmyk(50%, 26.5%, 0%, 60%)
CIE-LABlab(31.10, -0.90, -18.59)
CIE-LCHlch(31.10, 18.61, 267.22°)
OKLaboklab(40.54% -0.0168 -0.0519)
OKLCHoklch(40.54% 0.055 252.1)
XYZxyz(6.2788, 6.6948, 13.5292)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334B66 #664E33
analogous
#336466 #334B66 #353366
triadic
#334B66 #66334B #4B6633
tetradic
#334B66 #663364 #664E33 #336635
square
#334B66 #663364 #664E33 #336635
split-complementary
#334B66 #663533 #646633
monochromatic
#0A0F14 #1F2D3D #334B66 #47698F #6387B1

Accessibility & contrast

On white

8.98
#334B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#334B66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334B66
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334B66#FFFFFF#000000##FFFFFF
##334B661.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404C67
Deuteranopia (green-blind)
#3A4765
Tritanopia (blue-blind)
#1D5154
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #334b66;
/* rgb */ color: rgb(51, 75, 102);
/* oklch */ color: oklch(40.5% 0.055 252.1);
Tailwind
colors: {
  custom: {
    50: '#6e7d91',
    500: '#334b66',
    950: '#000000',
  },
}
SCSS
$custom: #334b66;
$custom-light: #6e7d91;
$custom-dark: #000000;
JSON
{
  "hex": "#334b66",
  "rgb": {
    "r": 51,
    "g": 75,
    "b": 102
  },
  "hsl": {
    "h": 211.765,
    "s": 33.333,
    "l": 30
  },
  "oklch": {
    "l": 0.40542,
    "c": 0.05453,
    "h": 252.1
  },
  "luminance": 0.06695
}

Semantic roles & 50–950 ramp

primary
#334B66
secondary
#977C5E
accent
#975EC9
background
#F6F7F8
surface
#ECEEF0
border
#C7C9CB
text
#07090D
muted
#7A7B7D

Preview Lab

Preview with #334B66

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

Preview Lab → · Contrast checker → · Palette generator →

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