#335192#335192

#335192 is a dark, moderate blue. Relative luminance 0.087; OKLCH L 44.6% C 0.113 H 263.8°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#335192
RGBrgb(51, 81, 146)
HSLhsl(221, 48%, 39%)
HSVhsv(221, 65%, 57%)
CMYKcmyk(65.1%, 44.5%, 0%, 42.7%)
CIE-LABlab(35.33, 10.76, -39.23)
CIE-LCHlch(35.33, 40.68, 285.33°)
OKLaboklab(44.61% -0.0122 -0.1119)
OKLCHoklch(44.61% 0.113 263.8)
XYZxyz(9.4942, 8.6631, 28.3604)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335192 #927433
analogous
#338092 #335192 #453392
triadic
#335192 #923351 #519233
tetradic
#335192 #923380 #927433 #339245
square
#335192 #923380 #927433 #339245
split-complementary
#335192 #924533 #809233
monochromatic
#131F37 #233865 #335192 #446BBE #728FCE

Accessibility & contrast

On white

7.68
#335192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#335192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335192
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335192#FFFFFF#000000##FFFFFF
##3351921.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335894
Deuteranopia (green-blind)
#244F91
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335192;
/* rgb */ color: rgb(51, 81, 146);
/* oklch */ color: oklch(44.6% 0.113 263.8);
Tailwind
colors: {
  custom: {
    50: '#7581b2',
    500: '#335192',
    950: '#000000',
  },
}
SCSS
$custom: #335192;
$custom-light: #7581b2;
$custom-dark: #000000;
JSON
{
  "hex": "#335192",
  "rgb": {
    "r": 51,
    "g": 81,
    "b": 146
  },
  "hsl": {
    "h": 221.053,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44608,
    "c": 0.11259,
    "h": 263.8
  },
  "luminance": 0.08664
}

Semantic roles & 50–950 ramp

primary
#335192
secondary
#B69E6B
accent
#AD50D8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #335192

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

Preview Lab → · Contrast checker → · Palette generator →

#335192 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva