#334666#334666

#334666 is a dark, muted blue. Relative luminance 0.060; OKLCH L 39.3% C 0.060 H 260.5°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#334666
RGBrgb(51, 70, 102)
HSLhsl(218, 33%, 30%)
HSVhsv(218, 50%, 40%)
CMYKcmyk(50%, 31.4%, 0%, 60%)
CIE-LABlab(29.52, 2.35, -21.05)
CIE-LCHlch(29.52, 21.18, 276.38°)
OKLaboklab(39.31% -0.0099 -0.059)
OKLCHoklch(39.31% 0.06 260.5)
XYZxyz(5.9529, 6.0431, 13.4205)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334666 #665333
analogous
#335F66 #334666 #3A3366
triadic
#334666 #663346 #466633
tetradic
#334666 #66335F #665333 #33663A
square
#334666 #66335F #665333 #33663A
split-complementary
#334666 #663A33 #5F6633
monochromatic
#0A0E14 #1F2A3D #334666 #47628F #6380B1

Accessibility & contrast

On white

9.51
#334666 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#334666 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334666
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334666#FFFFFF#000000##FFFFFF
##3346661.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4867
Deuteranopia (green-blind)
#344365
Tritanopia (blue-blind)
#1E4D51
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #334666;
/* rgb */ color: rgb(51, 70, 102);
/* oklch */ color: oklch(39.3% 0.060 260.5);
Tailwind
colors: {
  custom: {
    50: '#6e7991',
    500: '#334666',
    950: '#000000',
  },
}
SCSS
$custom: #334666;
$custom-light: #6e7991;
$custom-dark: #000000;
JSON
{
  "hex": "#334666",
  "rgb": {
    "r": 51,
    "g": 70,
    "b": 102
  },
  "hsl": {
    "h": 217.647,
    "s": 33.333,
    "l": 30
  },
  "oklch": {
    "l": 0.39305,
    "c": 0.05979,
    "h": 260.5
  },
  "luminance": 0.06043
}

Semantic roles & 50–950 ramp

primary
#334666
secondary
#97825E
accent
#A25EC9
background
#F6F7F8
surface
#ECEDF0
border
#C7C8CB
text
#07090D
muted
#7A7B7D

Preview Lab

Preview with #334666

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

Preview Lab → · Contrast checker → · Palette generator →

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