#334769#334769

#334769 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.7% C 0.063 H 260.6°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#334769
RGBrgb(51, 71, 105)
HSLhsl(218, 35%, 31%)
HSVhsv(218, 51%, 41%)
CMYKcmyk(51.4%, 32.4%, 0%, 58.8%)
CIE-LABlab(29.98, 2.71, -22.23)
CIE-LCHlch(29.98, 22.40, 276.95°)
OKLaboklab(39.72% -0.0103 -0.0624)
OKLCHoklch(39.72% 0.063 260.6)
XYZxyz(6.1674, 6.2298, 14.2393)
Luminance0.0623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334769 #695533
analogous
#336269 #334769 #3A3369
triadic
#334769 #693347 #476933
tetradic
#334769 #693362 #695533 #33693A
square
#334769 #693362 #695533 #33693A
split-complementary
#334769 #693A33 #626933
monochromatic
#0B0F17 #1F2B40 #334769 #476392 #6381B3

Accessibility & contrast

On white

9.35
#334769 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#334769 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334769
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334769#FFFFFF#000000##FFFFFF
##3347691.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A496A
Deuteranopia (green-blind)
#344468
Tritanopia (blue-blind)
#1C4E53
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #334769;
/* rgb */ color: rgb(51, 71, 105);
/* oklch */ color: oklch(39.7% 0.063 260.6);
Tailwind
colors: {
  custom: {
    50: '#6e7a94',
    500: '#334769',
    950: '#000000',
  },
}
SCSS
$custom: #334769;
$custom-light: #6e7a94;
$custom-dark: #000000;
JSON
{
  "hex": "#334769",
  "rgb": {
    "r": 51,
    "g": 71,
    "b": 105
  },
  "hsl": {
    "h": 217.778,
    "s": 34.615,
    "l": 30.588
  },
  "oklch": {
    "l": 0.39716,
    "c": 0.06323,
    "h": 260.6
  },
  "luminance": 0.0623
}

Semantic roles & 50–950 ramp

primary
#334769
secondary
#9A845E
accent
#A25DCB
background
#F6F7F9
surface
#ECEDF1
border
#C7C8CB
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #334769

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

Preview Lab → · Contrast checker → · Palette generator →

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