#334F92#334F92

#334F92 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.2% C 0.115 H 265.0°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#334F92
RGBrgb(51, 79, 146)
HSLhsl(222, 48%, 39%)
HSVhsv(222, 65%, 57%)
CMYKcmyk(65.1%, 45.9%, 0%, 42.7%)
CIE-LABlab(34.74, 12.08, -40.17)
CIE-LCHlch(34.74, 41.94, 286.74°)
OKLaboklab(44.16% -0.01 -0.1147)
OKLCHoklch(44.16% 0.115 265)
XYZxyz(9.3477, 8.3702, 28.3116)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334F92 #927633
analogous
#337E92 #334F92 #463392
triadic
#334F92 #92334F #4F9233
tetradic
#334F92 #92337E #927633 #339246
square
#334F92 #92337E #927633 #339246
split-complementary
#334F92 #924633 #7E9233
monochromatic
#131E37 #233665 #334F92 #4468BE #728DCE

Accessibility & contrast

On white

7.85
#334F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#334F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334F92
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334F92#FFFFFF#000000##FFFFFF
##334F921.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5695
Deuteranopia (green-blind)
#1F4E91
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #334f92;
/* rgb */ color: rgb(51, 79, 146);
/* oklch */ color: oklch(44.2% 0.115 265.0);
Tailwind
colors: {
  custom: {
    50: '#757fb2',
    500: '#334f92',
    950: '#000000',
  },
}
SCSS
$custom: #334f92;
$custom-light: #757fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#334f92",
  "rgb": {
    "r": 51,
    "g": 79,
    "b": 146
  },
  "hsl": {
    "h": 222.316,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44159,
    "c": 0.11514,
    "h": 265
  },
  "luminance": 0.08371
}

Semantic roles & 50–950 ramp

primary
#334F92
secondary
#B6A06B
accent
#B050D8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #334F92

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

Preview Lab → · Contrast checker → · Palette generator →

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