#334764#334764

#334764 is a dark, muted blue. Relative luminance 0.061; OKLCH L 39.4% C 0.056 H 257.6°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#334764
RGBrgb(51, 71, 100)
HSLhsl(216, 32%, 30%)
HSVhsv(216, 49%, 39%)
CMYKcmyk(49%, 29%, 0%, 60.8%)
CIE-LABlab(29.74, 1.03, -19.43)
CIE-LCHlch(29.74, 19.46, 273.03°)
OKLaboklab(39.44% -0.0119 -0.0543)
OKLCHoklch(39.44% 0.056 257.6)
XYZxyz(5.9180, 6.1300, 12.9255)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334764 #645033
analogous
#336064 #334764 #383364
triadic
#334764 #643347 #476433
tetradic
#334764 #643360 #645033 #336438
square
#334764 #643360 #645033 #336438
split-complementary
#334764 #643833 #606433
monochromatic
#0A0E14 #1E2A3B #334764 #48648D #6282AF

Accessibility & contrast

On white

9.43
#334764 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#334764 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334764
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334764#FFFFFF#000000##FFFFFF
##3347641.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4965
Deuteranopia (green-blind)
#364463
Tritanopia (blue-blind)
#1F4D51
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #334764;
/* rgb */ color: rgb(51, 71, 100);
/* oklch */ color: oklch(39.4% 0.056 257.6);
Tailwind
colors: {
  custom: {
    50: '#6d7a90',
    500: '#334764',
    950: '#000000',
  },
}
SCSS
$custom: #334764;
$custom-light: #6d7a90;
$custom-dark: #000000;
JSON
{
  "hex": "#334764",
  "rgb": {
    "r": 51,
    "g": 71,
    "b": 100
  },
  "hsl": {
    "h": 215.51,
    "s": 32.45,
    "l": 29.608
  },
  "oklch": {
    "l": 0.39442,
    "c": 0.0556,
    "h": 257.6
  },
  "luminance": 0.0613
}

Semantic roles & 50–950 ramp

primary
#334764
secondary
#957E5E
accent
#9E5FC9
background
#F6F7F8
surface
#ECEDF0
border
#C7C8CB
text
#07090C
muted
#7A7B7D

Preview Lab

Preview with #334764

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

Preview Lab → · Contrast checker → · Palette generator →

#334764 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva