#334D73#334D73

#334D73 is a dark, moderate blue. Relative luminance 0.072; OKLCH L 41.7% C 0.071 H 257.8°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#334D73
RGBrgb(51, 77, 115)
HSLhsl(216, 39%, 33%)
HSVhsv(216, 56%, 45%)
CMYKcmyk(55.7%, 33%, 0%, 54.9%)
CIE-LABlab(32.37, 2.22, -24.81)
CIE-LCHlch(32.37, 24.91, 275.12°)
OKLaboklab(41.74% -0.0151 -0.0698)
OKLCHoklch(41.74% 0.071 257.8)
XYZxyz(7.1126, 7.2488, 17.2407)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334D73 #735933
analogous
#336D73 #334D73 #393373
triadic
#334D73 #73334D #4D7333
tetradic
#334D73 #73336D #735933 #337339
square
#334D73 #73336D #735933 #337339
split-complementary
#334D73 #733933 #6D7333
monochromatic
#0D141E #203149 #334D73 #46699D #6588BB

Accessibility & contrast

On white

8.57
#334D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#334D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334D73
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334D73#FFFFFF#000000##FFFFFF
##334D731.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F75
Deuteranopia (green-blind)
#364972
Tritanopia (blue-blind)
#10555B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #334d73;
/* rgb */ color: rgb(51, 77, 115);
/* oklch */ color: oklch(41.7% 0.071 257.8);
Tailwind
colors: {
  custom: {
    50: '#6f7e9b',
    500: '#334d73',
    950: '#000000',
  },
}
SCSS
$custom: #334d73;
$custom-light: #6f7e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#334d73",
  "rgb": {
    "r": 51,
    "g": 77,
    "b": 115
  },
  "hsl": {
    "h": 215.625,
    "s": 38.554,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41742,
    "c": 0.07144,
    "h": 257.8
  },
  "luminance": 0.07249
}

Semantic roles & 50–950 ramp

primary
#334D73
secondary
#A3875F
accent
#9F59CE
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #334D73

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

Preview Lab → · Contrast checker → · Palette generator →

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