#335693#335693

#335693 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 45.8% C 0.108 H 260.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#335693
RGBrgb(51, 86, 147)
HSLhsl(218, 48%, 39%)
HSVhsv(218, 65%, 58%)
CMYKcmyk(65.3%, 41.5%, 0%, 42.4%)
CIE-LABlab(36.86, 7.84, -37.39)
CIE-LCHlch(36.86, 38.20, 281.85°)
OKLaboklab(45.81% -0.0173 -0.1064)
OKLCHoklch(45.81% 0.108 260.8)
XYZxyz(9.9576, 9.4650, 28.9003)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335693 #937033
analogous
#338693 #335693 #403393
triadic
#335693 #933356 #569333
tetradic
#335693 #933386 #937033 #339340
square
#335693 #933386 #937033 #339340
split-complementary
#335693 #934033 #869333
monochromatic
#132138 #233B66 #335693 #4571BE #7294CE

Accessibility & contrast

On white

7.26
#335693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#335693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #335693
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335693#FFFFFF#000000##FFFFFF
##3356931.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5C95
Deuteranopia (green-blind)
#2D5392
Tritanopia (blue-blind)
#00646D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #335693;
/* rgb */ color: rgb(51, 86, 147);
/* oklch */ color: oklch(45.8% 0.108 260.8);
Tailwind
colors: {
  custom: {
    50: '#7585b3',
    500: '#335693',
    950: '#000000',
  },
}
SCSS
$custom: #335693;
$custom-light: #7585b3;
$custom-dark: #000000;
JSON
{
  "hex": "#335693",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 147
  },
  "hsl": {
    "h": 218.125,
    "s": 48.485,
    "l": 38.824
  },
  "oklch": {
    "l": 0.45814,
    "c": 0.10784,
    "h": 260.8
  },
  "luminance": 0.09466
}

Semantic roles & 50–950 ramp

primary
#335693
secondary
#B69B6C
accent
#A650D8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #335693

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

Preview Lab → · Contrast checker → · Palette generator →

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