#335690#335690

#335690 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.6% C 0.104 H 260.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#335690
RGBrgb(51, 86, 144)
HSLhsl(217, 48%, 38%)
HSVhsv(217, 65%, 56%)
CMYKcmyk(64.6%, 40.3%, 0%, 43.5%)
CIE-LABlab(36.69, 6.74, -35.84)
CIE-LCHlch(36.69, 36.47, 280.66°)
OKLaboklab(45.62% -0.018 -0.1019)
OKLCHoklch(45.62% 0.104 260)
XYZxyz(9.7253, 9.3721, 27.6766)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335690 #906D33
analogous
#338490 #335690 #3E3390
triadic
#335690 #903356 #569033
tetradic
#335690 #903384 #906D33 #33903E
square
#335690 #903384 #906D33 #33903E
split-complementary
#335690 #903E33 #849033
monochromatic
#132036 #233B63 #335690 #4471BD #7193CD

Accessibility & contrast

On white

7.31
#335690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#335690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335690
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335690#FFFFFF#000000##FFFFFF
##3356901.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5B92
Deuteranopia (green-blind)
#2F528F
Tritanopia (blue-blind)
#00636C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #335690;
/* rgb */ color: rgb(51, 86, 144);
/* oklch */ color: oklch(45.6% 0.104 260.0);
Tailwind
colors: {
  custom: {
    50: '#7485b1',
    500: '#335690',
    950: '#000000',
  },
}
SCSS
$custom: #335690;
$custom-light: #7485b1;
$custom-dark: #000000;
JSON
{
  "hex": "#335690",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 144
  },
  "hsl": {
    "h": 217.419,
    "s": 47.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45623,
    "c": 0.10351,
    "h": 260
  },
  "luminance": 0.09373
}

Semantic roles & 50–950 ramp

primary
#335690
secondary
#B5996A
accent
#A551D7
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F

Preview Lab

Preview with #335690

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

Preview Lab → · Contrast checker → · Palette generator →

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