#334566#334566

#334566 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.1% C 0.061 H 262.0°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#334566
RGBrgb(51, 69, 102)
HSLhsl(219, 33%, 30%)
HSVhsv(219, 50%, 40%)
CMYKcmyk(50%, 32.4%, 0%, 60%)
CIE-LABlab(29.21, 3.01, -21.54)
CIE-LCHlch(29.21, 21.75, 277.96°)
OKLaboklab(39.06% -0.0085 -0.0604)
OKLCHoklch(39.06% 0.061 262)
XYZxyz(5.8908, 5.9190, 13.3999)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334566 #665433
analogous
#335E66 #334566 #3B3366
triadic
#334566 #663345 #456633
tetradic
#334566 #66335E #665433 #33663B
square
#334566 #66335E #665433 #33663B
split-complementary
#334566 #663B33 #5E6633
monochromatic
#0A0E14 #1F293D #334566 #47618F #637EB1

Accessibility & contrast

On white

9.62
#334566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#334566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334566
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334566#FFFFFF#000000##FFFFFF
##3345661.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394767
Deuteranopia (green-blind)
#334365
Tritanopia (blue-blind)
#1E4C51
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #334566;
/* rgb */ color: rgb(51, 69, 102);
/* oklch */ color: oklch(39.1% 0.061 262.0);
Tailwind
colors: {
  custom: {
    50: '#6e7892',
    500: '#334566',
    950: '#000000',
  },
}
SCSS
$custom: #334566;
$custom-light: #6e7892;
$custom-dark: #000000;
JSON
{
  "hex": "#334566",
  "rgb": {
    "r": 51,
    "g": 69,
    "b": 102
  },
  "hsl": {
    "h": 218.824,
    "s": 33.333,
    "l": 30
  },
  "oklch": {
    "l": 0.3906,
    "c": 0.06098,
    "h": 262
  },
  "luminance": 0.05919
}

Semantic roles & 50–950 ramp

primary
#334566
secondary
#97835E
accent
#A45EC9
background
#F6F7F8
surface
#ECEDF0
border
#C7C8CB
text
#07090D
muted
#7A7B7D

Preview Lab

Preview with #334566

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

Preview Lab → · Contrast checker → · Palette generator →

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