#334C92#334C92

#334C92 is a dark, moderate blue. Relative luminance 0.079; OKLCH L 43.5% C 0.119 H 266.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#334C92
RGBrgb(51, 76, 146)
HSLhsl(224, 48%, 39%)
HSVhsv(224, 65%, 57%)
CMYKcmyk(65.1%, 47.9%, 0%, 42.7%)
CIE-LABlab(33.87, 14.07, -41.56)
CIE-LCHlch(33.87, 43.88, 288.71°)
OKLaboklab(43.49% -0.0069 -0.1188)
OKLCHoklch(43.49% 0.119 266.7)
XYZxyz(9.1362, 7.9472, 28.2410)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334C92 #927933
analogous
#337B92 #334C92 #4A3392
triadic
#334C92 #92334C #4C9233
tetradic
#334C92 #92337B #927933 #33924A
square
#334C92 #92337B #927933 #33924A
split-complementary
#334C92 #924A33 #7B9233
monochromatic
#131D37 #233465 #334C92 #4464BE #728ACE

Accessibility & contrast

On white

8.11
#334C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#334C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334C92
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334C92#FFFFFF#000000##FFFFFF
##334C921.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295495
Deuteranopia (green-blind)
#174C91
Tritanopia (blue-blind)
#005C68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #334c92;
/* rgb */ color: rgb(51, 76, 146);
/* oklch */ color: oklch(43.5% 0.119 266.7);
Tailwind
colors: {
  custom: {
    50: '#757db2',
    500: '#334c92',
    950: '#000000',
  },
}
SCSS
$custom: #334c92;
$custom-light: #757db2;
$custom-dark: #000000;
JSON
{
  "hex": "#334c92",
  "rgb": {
    "r": 51,
    "g": 76,
    "b": 146
  },
  "hsl": {
    "h": 224.211,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43493,
    "c": 0.11904,
    "h": 266.7
  },
  "luminance": 0.07948
}

Semantic roles & 50–950 ramp

primary
#334C92
secondary
#B6A26B
accent
#B450D8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #334C92

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

Preview Lab → · Contrast checker → · Palette generator →

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