#334D75#334D75

#334D75 is a dark, moderate blue. Relative luminance 0.073; OKLCH L 41.9% C 0.074 H 258.7°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#334D75
RGBrgb(51, 77, 117)
HSLhsl(216, 39%, 33%)
HSVhsv(216, 56%, 46%)
CMYKcmyk(56.4%, 34.2%, 0%, 54.1%)
CIE-LABlab(32.47, 2.92, -25.90)
CIE-LCHlch(32.47, 26.06, 276.43°)
OKLaboklab(41.86% -0.0145 -0.073)
OKLCHoklch(41.86% 0.074 258.7)
XYZxyz(7.2289, 7.2954, 17.8534)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334D75 #755B33
analogous
#336E75 #334D75 #3A3375
triadic
#334D75 #75334D #4D7533
tetradic
#334D75 #75336E #755B33 #33753A
square
#334D75 #75336E #755B33 #33753A
split-complementary
#334D75 #753A33 #6E7533
monochromatic
#0E1520 #20314A #334D75 #4669A0 #6688BC

Accessibility & contrast

On white

8.54
#334D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#334D75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334D75
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334D75#FFFFFF#000000##FFFFFF
##334D751.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5077
Deuteranopia (green-blind)
#354A74
Tritanopia (blue-blind)
#0D565B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #334d75;
/* rgb */ color: rgb(51, 77, 117);
/* oklch */ color: oklch(41.9% 0.074 258.7);
Tailwind
colors: {
  custom: {
    50: '#707e9d',
    500: '#334d75',
    950: '#000000',
  },
}
SCSS
$custom: #334d75;
$custom-light: #707e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#334d75",
  "rgb": {
    "r": 51,
    "g": 77,
    "b": 117
  },
  "hsl": {
    "h": 216.364,
    "s": 39.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41857,
    "c": 0.07441,
    "h": 258.7
  },
  "luminance": 0.07296
}

Semantic roles & 50–950 ramp

primary
#334D75
secondary
#A4895F
accent
#A059CF
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#08090E
muted
#7B7B7E

Preview Lab

Preview with #334D75

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

Preview Lab → · Contrast checker → · Palette generator →

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