#335492#335492

#335492 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.3% C 0.109 H 261.9°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#335492
RGBrgb(51, 84, 146)
HSLhsl(219, 48%, 39%)
HSVhsv(219, 65%, 57%)
CMYKcmyk(65.1%, 42.5%, 0%, 42.7%)
CIE-LABlab(36.21, 8.78, -37.82)
CIE-LCHlch(36.21, 38.83, 283.07°)
OKLaboklab(45.29% -0.0154 -0.1077)
OKLCHoklch(45.29% 0.109 261.9)
XYZxyz(9.7220, 9.1189, 28.4363)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335492 #927133
analogous
#338392 #335492 #413392
triadic
#335492 #923354 #549233
tetradic
#335492 #923383 #927133 #339241
square
#335492 #923383 #927133 #339241
split-complementary
#335492 #924133 #839233
monochromatic
#132037 #233A65 #335492 #446FBE #7292CE

Accessibility & contrast

On white

7.44
#335492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#335492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335492
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335492#FFFFFF#000000##FFFFFF
##3354921.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385A94
Deuteranopia (green-blind)
#2A5191
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #335492;
/* rgb */ color: rgb(51, 84, 146);
/* oklch */ color: oklch(45.3% 0.109 261.9);
Tailwind
colors: {
  custom: {
    50: '#7483b2',
    500: '#335492',
    950: '#000000',
  },
}
SCSS
$custom: #335492;
$custom-light: #7483b2;
$custom-dark: #000000;
JSON
{
  "hex": "#335492",
  "rgb": {
    "r": 51,
    "g": 84,
    "b": 146
  },
  "hsl": {
    "h": 219.158,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4529,
    "c": 0.10884,
    "h": 261.9
  },
  "luminance": 0.0912
}

Semantic roles & 50–950 ramp

primary
#335492
secondary
#B69C6B
accent
#A950D8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #335492

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

Preview Lab → · Contrast checker → · Palette generator →

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