#334B92#334B92

#334B92 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.3% C 0.120 H 267.2°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#334B92
RGBrgb(51, 75, 146)
HSLhsl(225, 48%, 39%)
HSVhsv(225, 65%, 57%)
CMYKcmyk(65.1%, 48.6%, 0%, 42.7%)
CIE-LABlab(33.59, 14.74, -42.02)
CIE-LCHlch(33.59, 44.53, 289.33°)
OKLaboklab(43.27% -0.0058 -0.1202)
OKLCHoklch(43.27% 0.12 267.2)
XYZxyz(9.0678, 7.8105, 28.2183)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#334B92 #927A33
analogous
#337A92 #334B92 #4A3392
triadic
#334B92 #92334B #4B9233
tetradic
#334B92 #92337A #927A33 #33924A
square
#334B92 #92337A #927A33 #33924A
split-complementary
#334B92 #924A33 #7A9233
monochromatic
#131C37 #233465 #334B92 #4463BE #7289CE

Accessibility & contrast

On white

8.20
#334B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#334B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #334B92
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##334B92#FFFFFF#000000##FFFFFF
##334B921.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275495
Deuteranopia (green-blind)
#144B91
Tritanopia (blue-blind)
#005B67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #334b92;
/* rgb */ color: rgb(51, 75, 146);
/* oklch */ color: oklch(43.3% 0.120 267.2);
Tailwind
colors: {
  custom: {
    50: '#757cb2',
    500: '#334b92',
    950: '#000000',
  },
}
SCSS
$custom: #334b92;
$custom-light: #757cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#334b92",
  "rgb": {
    "r": 51,
    "g": 75,
    "b": 146
  },
  "hsl": {
    "h": 224.842,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43273,
    "c": 0.12036,
    "h": 267.2
  },
  "luminance": 0.07811
}

Semantic roles & 50–950 ramp

primary
#334B92
secondary
#B6A36B
accent
#B550D8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #334B92

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

Preview Lab → · Contrast checker → · Palette generator →

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