#334A68#334A68

#334A68 is a dark, muted cyan. Relative luminance 0.066; OKLCH L 40.4% C 0.058 H 255.4°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#334A68
RGBrgb(51, 74, 104)
HSLhsl(214, 34%, 30%)
HSVhsv(214, 51%, 41%)
CMYKcmyk(51%, 28.8%, 0%, 59.2%)
CIE-LABlab(30.88, 0.41, -20.20)
CIE-LCHlch(30.88, 20.21, 271.17°)
OKLaboklab(40.4% -0.0147 -0.0565)
OKLCHoklch(40.4% 0.058 255.4)
XYZxyz(6.3119, 6.6004, 14.0354)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334A68 #685133
analogous
#336568 #334A68 #363368
triadic
#334A68 #68334A #4A6833
tetradic
#334A68 #683365 #685133 #336836
square
#334A68 #683365 #685133 #336836
split-complementary
#334A68 #683633 #656833
monochromatic
#0B1016 #1F2D3F #334A68 #476791 #6385B2

Accessibility & contrast

On white

9.05
#334A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #334A68
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334A68#FFFFFF#000000##FFFFFF
##334A681.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4C69
Deuteranopia (green-blind)
#384667
Tritanopia (blue-blind)
#1C5154
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #334a68;
/* rgb */ color: rgb(51, 74, 104);
/* oklch */ color: oklch(40.4% 0.058 255.4);
Tailwind
colors: {
  custom: {
    50: '#6e7c93',
    500: '#334a68',
    950: '#000000',
  },
}
SCSS
$custom: #334a68;
$custom-light: #6e7c93;
$custom-dark: #000000;
JSON
{
  "hex": "#334a68",
  "rgb": {
    "r": 51,
    "g": 74,
    "b": 104
  },
  "hsl": {
    "h": 213.962,
    "s": 34.194,
    "l": 30.392
  },
  "oklch": {
    "l": 0.40399,
    "c": 0.05841,
    "h": 255.4
  },
  "luminance": 0.06601
}

Semantic roles & 50–950 ramp

primary
#334A68
secondary
#997F5E
accent
#9B5ECA
background
#F6F7F9
surface
#ECEEF1
border
#C7C9CB
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #334A68

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

Preview Lab → · Contrast checker → · Palette generator →

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