#335283#335283

#335283 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 43.9% C 0.089 H 259.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#335283
RGBrgb(51, 82, 131)
HSLhsl(217, 44%, 36%)
HSVhsv(217, 61%, 51%)
CMYKcmyk(61.1%, 37.4%, 0%, 48.6%)
CIE-LABlab(34.75, 4.63, -30.98)
CIE-LCHlch(34.75, 31.32, 278.50°)
OKLaboklab(43.88% -0.0167 -0.0877)
OKLCHoklch(43.88% 0.089 259.2)
XYZxyz(8.4778, 8.3764, 22.6384)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335283 #836433
analogous
#337A83 #335283 #3C3383
triadic
#335283 #833352 #528333
tetradic
#335283 #83337A #836433 #33833C
square
#335283 #83337A #836433 #33833C
split-complementary
#335283 #833C33 #7A8333
monochromatic
#111B2B #223657 #335283 #446EAF #6B8EC5

Accessibility & contrast

On white

7.85
#335283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#335283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335283
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335283#FFFFFF#000000##FFFFFF
##3352831.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5685
Deuteranopia (green-blind)
#334E82
Tritanopia (blue-blind)
#005D64
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #335283;
/* rgb */ color: rgb(51, 82, 131);
/* oklch */ color: oklch(43.9% 0.089 259.2);
Tailwind
colors: {
  custom: {
    50: '#7282a7',
    500: '#335283',
    950: '#000000',
  },
}
SCSS
$custom: #335283;
$custom-light: #7282a7;
$custom-dark: #000000;
JSON
{
  "hex": "#335283",
  "rgb": {
    "r": 51,
    "g": 82,
    "b": 131
  },
  "hsl": {
    "h": 216.75,
    "s": 43.956,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43882,
    "c": 0.08931,
    "h": 259.2
  },
  "luminance": 0.08377
}

Semantic roles & 50–950 ramp

primary
#335283
secondary
#AD9165
accent
#A254D4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #335283

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

Preview Lab → · Contrast checker → · Palette generator →

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