#334665#334665

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

Color values

HEX#334665
RGBrgb(51, 70, 101)
HSLhsl(217, 33%, 30%)
HSVhsv(217, 50%, 40%)
CMYKcmyk(49.5%, 30.7%, 0%, 60.4%)
CIE-LABlab(29.47, 2.02, -20.49)
CIE-LCHlch(29.47, 20.59, 275.62°)
OKLaboklab(39.25% -0.0102 -0.0573)
OKLCHoklch(39.25% 0.058 259.9)
XYZxyz(5.9036, 6.0233, 13.1609)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334665 #655233
analogous
#335F65 #334665 #393365
triadic
#334665 #653346 #466533
tetradic
#334665 #65335F #655233 #336539
square
#334665 #65335F #655233 #336539
split-complementary
#334665 #653933 #5F6533
monochromatic
#0A0E14 #1E2A3C #334665 #48628E #6280B0

Accessibility & contrast

On white

9.52
#334665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#334665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334665
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334665#FFFFFF#000000##FFFFFF
##3346651.009.522.209.52
#FFFFFF9.521.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A4866
Deuteranopia (green-blind)
#354364
Tritanopia (blue-blind)
#1F4D51
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #334665;
/* rgb */ color: rgb(51, 70, 101);
/* oklch */ color: oklch(39.3% 0.058 259.9);
Tailwind
colors: {
  custom: {
    50: '#6e7991',
    500: '#334665',
    950: '#000000',
  },
}
SCSS
$custom: #334665;
$custom-light: #6e7991;
$custom-dark: #000000;
JSON
{
  "hex": "#334665",
  "rgb": {
    "r": 51,
    "g": 70,
    "b": 101
  },
  "hsl": {
    "h": 217.2,
    "s": 32.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3925,
    "c": 0.05825,
    "h": 259.9
  },
  "luminance": 0.06024
}

Semantic roles & 50–950 ramp

primary
#334665
secondary
#96815E
accent
#A15FC9
background
#F6F7F8
surface
#ECEDF0
border
#C7C8CB
text
#07090C
muted
#7A7B7D

Preview Lab

Preview with #334665

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

Preview Lab → · Contrast checker → · Palette generator →

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