#334D92#334D92

#334D92 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.7% C 0.118 H 266.1°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#334D92
RGBrgb(51, 77, 146)
HSLhsl(224, 48%, 39%)
HSVhsv(224, 65%, 57%)
CMYKcmyk(65.1%, 47.3%, 0%, 42.7%)
CIE-LABlab(34.16, 13.41, -41.10)
CIE-LCHlch(34.16, 43.23, 288.07°)
OKLaboklab(43.71% -0.0079 -0.1175)
OKLCHoklch(43.71% 0.118 266.1)
XYZxyz(9.2056, 8.0861, 28.2642)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334D92 #927833
analogous
#337C92 #334D92 #483392
triadic
#334D92 #92334D #4D9233
tetradic
#334D92 #92337C #927833 #339248
square
#334D92 #92337C #927833 #339248
split-complementary
#334D92 #924833 #7C9233
monochromatic
#131D37 #233565 #334D92 #4466BE #728BCE

Accessibility & contrast

On white

8.02
#334D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#334D92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334D92
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334D92#FFFFFF#000000##FFFFFF
##334D921.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5595
Deuteranopia (green-blind)
#1A4C91
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #334d92;
/* rgb */ color: rgb(51, 77, 146);
/* oklch */ color: oklch(43.7% 0.118 266.1);
Tailwind
colors: {
  custom: {
    50: '#757eb2',
    500: '#334d92',
    950: '#000000',
  },
}
SCSS
$custom: #334d92;
$custom-light: #757eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#334d92",
  "rgb": {
    "r": 51,
    "g": 77,
    "b": 146
  },
  "hsl": {
    "h": 223.579,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43713,
    "c": 0.11774,
    "h": 266.1
  },
  "luminance": 0.08087
}

Semantic roles & 50–950 ramp

primary
#334D92
secondary
#B6A16B
accent
#B350D8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #334D92

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

Preview Lab → · Contrast checker → · Palette generator →

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