#335692#335692

#335692 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.8% C 0.106 H 260.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#335692
RGBrgb(51, 86, 146)
HSLhsl(218, 48%, 39%)
HSVhsv(218, 65%, 57%)
CMYKcmyk(65.1%, 41.1%, 0%, 42.7%)
CIE-LABlab(36.81, 7.48, -36.87)
CIE-LCHlch(36.81, 37.62, 281.46°)
OKLaboklab(45.75% -0.0176 -0.1049)
OKLCHoklch(45.75% 0.106 260.5)
XYZxyz(9.8795, 9.4338, 28.4888)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335692 #926F33
analogous
#338592 #335692 #3F3392
triadic
#335692 #923356 #569233
tetradic
#335692 #923385 #926F33 #33923F
square
#335692 #923385 #926F33 #33923F
split-complementary
#335692 #923F33 #859233
monochromatic
#132137 #233B65 #335692 #4471BE #7294CE

Accessibility & contrast

On white

7.27
#335692 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #335692
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335692#FFFFFF#000000##FFFFFF
##3356921.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #335692;
/* rgb */ color: rgb(51, 86, 146);
/* oklch */ color: oklch(45.8% 0.106 260.5);
Tailwind
colors: {
  custom: {
    50: '#7485b2',
    500: '#335692',
    950: '#000000',
  },
}
SCSS
$custom: #335692;
$custom-light: #7485b2;
$custom-dark: #000000;
JSON
{
  "hex": "#335692",
  "rgb": {
    "r": 51,
    "g": 86,
    "b": 146
  },
  "hsl": {
    "h": 217.895,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4575,
    "c": 0.1064,
    "h": 260.5
  },
  "luminance": 0.09435
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #335692

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

Preview Lab → · Contrast checker → · Palette generator →

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