#335083#335083

#335083 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.4% C 0.092 H 261.0°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#335083
RGBrgb(51, 80, 131)
HSLhsl(218, 44%, 36%)
HSVhsv(218, 61%, 51%)
CMYKcmyk(61.1%, 38.9%, 0%, 48.6%)
CIE-LABlab(34.15, 5.94, -31.94)
CIE-LCHlch(34.15, 32.48, 280.53°)
OKLaboklab(43.41% -0.0144 -0.0906)
OKLCHoklch(43.41% 0.092 261)
XYZxyz(8.3292, 8.0791, 22.5888)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335083 #836633
analogous
#337883 #335083 #3E3383
triadic
#335083 #833350 #508333
tetradic
#335083 #833378 #836633 #33833E
square
#335083 #833378 #836633 #33833E
split-complementary
#335083 #833E33 #788333
monochromatic
#111A2B #223557 #335083 #446BAF #6B8CC5

Accessibility & contrast

On white

8.03
#335083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#335083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335083
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335083#FFFFFF#000000##FFFFFF
##3350831.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5485
Deuteranopia (green-blind)
#304D82
Tritanopia (blue-blind)
#005B63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #335083;
/* rgb */ color: rgb(51, 80, 131);
/* oklch */ color: oklch(43.4% 0.092 261.0);
Tailwind
colors: {
  custom: {
    50: '#7280a7',
    500: '#335083',
    950: '#000000',
  },
}
SCSS
$custom: #335083;
$custom-light: #7280a7;
$custom-dark: #000000;
JSON
{
  "hex": "#335083",
  "rgb": {
    "r": 51,
    "g": 80,
    "b": 131
  },
  "hsl": {
    "h": 218.25,
    "s": 43.956,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4341,
    "c": 0.09169,
    "h": 261
  },
  "luminance": 0.0808
}

Semantic roles & 50–950 ramp

primary
#335083
secondary
#AD9365
accent
#A554D4
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #335083

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

Preview Lab → · Contrast checker → · Palette generator →

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