#335292#335292

#335292 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.8% C 0.111 H 263.2°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#335292
RGBrgb(51, 82, 146)
HSLhsl(220, 48%, 39%)
HSVhsv(220, 65%, 57%)
CMYKcmyk(65.1%, 43.8%, 0%, 42.7%)
CIE-LABlab(35.62, 10.10, -38.76)
CIE-LCHlch(35.62, 40.05, 284.60°)
OKLaboklab(44.84% -0.0132 -0.1105)
OKLCHoklch(44.84% 0.111 263.2)
XYZxyz(9.5690, 8.8128, 28.3853)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335292 #927333
analogous
#338192 #335292 #433392
triadic
#335292 #923352 #529233
tetradic
#335292 #923381 #927333 #339243
square
#335292 #923381 #927333 #339243
split-complementary
#335292 #924333 #819233
monochromatic
#131F37 #233965 #335292 #446CBE #7290CE

Accessibility & contrast

On white

7.60
#335292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#335292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335292
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335292#FFFFFF#000000##FFFFFF
##3352921.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345894
Deuteranopia (green-blind)
#265091
Tritanopia (blue-blind)
#00616B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #335292;
/* rgb */ color: rgb(51, 82, 146);
/* oklch */ color: oklch(44.8% 0.111 263.2);
Tailwind
colors: {
  custom: {
    50: '#7582b2',
    500: '#335292',
    950: '#000000',
  },
}
SCSS
$custom: #335292;
$custom-light: #7582b2;
$custom-dark: #000000;
JSON
{
  "hex": "#335292",
  "rgb": {
    "r": 51,
    "g": 82,
    "b": 146
  },
  "hsl": {
    "h": 220.421,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44835,
    "c": 0.11133,
    "h": 263.2
  },
  "luminance": 0.08814
}

Semantic roles & 50–950 ramp

primary
#335292
secondary
#B69D6B
accent
#AB50D8
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #335292

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

Preview Lab → · Contrast checker → · Palette generator →

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