#334E92#334E92

#334E92 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.9% C 0.116 H 265.6°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#334E92
RGBrgb(51, 78, 146)
HSLhsl(223, 48%, 39%)
HSVhsv(223, 65%, 57%)
CMYKcmyk(65.1%, 46.6%, 0%, 42.7%)
CIE-LABlab(34.45, 12.74, -40.63)
CIE-LCHlch(34.45, 42.58, 287.41°)
OKLaboklab(43.94% -0.009 -0.1161)
OKLCHoklch(43.94% 0.116 265.6)
XYZxyz(9.2761, 8.2271, 28.2877)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334E92 #927733
analogous
#337D92 #334E92 #473392
triadic
#334E92 #92334E #4E9233
tetradic
#334E92 #92337D #927733 #339247
square
#334E92 #92337D #927733 #339247
split-complementary
#334E92 #924733 #7D9233
monochromatic
#131E37 #233665 #334E92 #4467BE #728CCE

Accessibility & contrast

On white

7.94
#334E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#334E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334E92
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334E92#FFFFFF#000000##FFFFFF
##334E921.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5695
Deuteranopia (green-blind)
#1D4D91
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #334e92;
/* rgb */ color: rgb(51, 78, 146);
/* oklch */ color: oklch(43.9% 0.116 265.6);
Tailwind
colors: {
  custom: {
    50: '#757fb2',
    500: '#334e92',
    950: '#000000',
  },
}
SCSS
$custom: #334e92;
$custom-light: #757fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#334e92",
  "rgb": {
    "r": 51,
    "g": 78,
    "b": 146
  },
  "hsl": {
    "h": 222.947,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43935,
    "c": 0.11644,
    "h": 265.6
  },
  "luminance": 0.08228
}

Semantic roles & 50–950 ramp

primary
#334E92
secondary
#B6A16B
accent
#B150D8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #334E92

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

Preview Lab → · Contrast checker → · Palette generator →

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