#335384#335384

#335384 is a dark, moderate blue. Relative luminance 0.086; OKLCH L 44.2% C 0.090 H 258.7°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#335384
RGBrgb(51, 83, 132)
HSLhsl(216, 44%, 36%)
HSVhsv(216, 61%, 52%)
CMYKcmyk(61.4%, 37.1%, 0%, 48.2%)
CIE-LABlab(35.11, 4.34, -31.02)
CIE-LCHlch(35.11, 31.32, 277.97°)
OKLaboklab(44.18% -0.0176 -0.0879)
OKLCHoklch(44.18% 0.09 258.7)
XYZxyz(8.6219, 8.5555, 23.0223)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335384 #846433
analogous
#337B84 #335384 #3B3384
triadic
#335384 #843353 #538433
tetradic
#335384 #84337B #846433 #33843B
square
#335384 #84337B #846433 #33843B
split-complementary
#335384 #843B33 #7B8433
monochromatic
#111B2C #223758 #335384 #446FB0 #6B8FC6

Accessibility & contrast

On white

7.75
#335384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#335384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335384
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335384#FFFFFF#000000##FFFFFF
##3353841.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5786
Deuteranopia (green-blind)
#344F83
Tritanopia (blue-blind)
#005E65
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #335384;
/* rgb */ color: rgb(51, 83, 132);
/* oklch */ color: oklch(44.2% 0.090 258.7);
Tailwind
colors: {
  custom: {
    50: '#7283a8',
    500: '#335384',
    950: '#000000',
  },
}
SCSS
$custom: #335384;
$custom-light: #7283a8;
$custom-dark: #000000;
JSON
{
  "hex": "#335384",
  "rgb": {
    "r": 51,
    "g": 83,
    "b": 132
  },
  "hsl": {
    "h": 216.296,
    "s": 44.262,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44179,
    "c": 0.08961,
    "h": 258.7
  },
  "luminance": 0.08556
}

Semantic roles & 50–950 ramp

primary
#335384
secondary
#AE9165
accent
#A154D4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #335384

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

Preview Lab → · Contrast checker → · Palette generator →

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