#334A67#334A67

#334A67 is a dark, muted cyan. Relative luminance 0.066; OKLCH L 40.3% C 0.057 H 254.7°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#334A67
RGBrgb(51, 74, 103)
HSLhsl(213, 34%, 30%)
HSVhsv(213, 50%, 40%)
CMYKcmyk(50.5%, 28.2%, 0%, 59.6%)
CIE-LABlab(30.83, 0.08, -19.64)
CIE-LCHlch(30.83, 19.64, 270.22°)
OKLaboklab(40.35% -0.0151 -0.0549)
OKLCHoklch(40.35% 0.057 254.7)
XYZxyz(6.2614, 6.5802, 13.7695)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334A67 #675033
analogous
#336467 #334A67 #363367
triadic
#334A67 #67334A #4A6733
tetradic
#334A67 #673364 #675033 #336736
square
#334A67 #673364 #675033 #336736
split-complementary
#334A67 #673633 #646733
monochromatic
#0A0F15 #1F2D3E #334A67 #476790 #6386B2

Accessibility & contrast

On white

9.07
#334A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#334A67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334A67
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334A67#FFFFFF#000000##FFFFFF
##334A671.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4B68
Deuteranopia (green-blind)
#384666
Tritanopia (blue-blind)
#1D5054
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #334a67;
/* rgb */ color: rgb(51, 74, 103);
/* oklch */ color: oklch(40.3% 0.057 254.7);
Tailwind
colors: {
  custom: {
    50: '#6e7c92',
    500: '#334a67',
    950: '#000000',
  },
}
SCSS
$custom: #334a67;
$custom-light: #6e7c92;
$custom-dark: #000000;
JSON
{
  "hex": "#334a67",
  "rgb": {
    "r": 51,
    "g": 74,
    "b": 103
  },
  "hsl": {
    "h": 213.462,
    "s": 33.766,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40346,
    "c": 0.05694,
    "h": 254.7
  },
  "luminance": 0.06581
}

Semantic roles & 50–950 ramp

primary
#334A67
secondary
#987E5E
accent
#9A5ECA
background
#F6F7F9
surface
#ECEEF1
border
#C7C9CB
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #334A67

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

Preview Lab → · Contrast checker → · Palette generator →

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