#335A92#335A92

#335A92 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 46.7% C 0.102 H 257.6°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#335A92
RGBrgb(51, 90, 146)
HSLhsl(215, 48%, 39%)
HSVhsv(215, 65%, 57%)
CMYKcmyk(65.1%, 38.4%, 0%, 42.7%)
CIE-LABlab(38.00, 4.89, -34.97)
CIE-LCHlch(38.00, 35.31, 277.96°)
OKLaboklab(46.68% -0.0219 -0.0993)
OKLCHoklch(46.68% 0.102 257.6)
XYZxyz(10.2079, 10.0905, 28.5983)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335A92 #926B33
analogous
#338992 #335A92 #3B3392
triadic
#335A92 #92335A #5A9233
tetradic
#335A92 #923389 #926B33 #33923B
square
#335A92 #923389 #926B33 #33923B
split-complementary
#335A92 #923B33 #899233
monochromatic
#132237 #233E65 #335A92 #4476BE #7297CE

Accessibility & contrast

On white

6.96
#335A92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#335A92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335A92
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335A92#FFFFFF#000000##FFFFFF
##335A921.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425E94
Deuteranopia (green-blind)
#345591
Tritanopia (blue-blind)
#00676F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #335a92;
/* rgb */ color: rgb(51, 90, 146);
/* oklch */ color: oklch(46.7% 0.102 257.6);
Tailwind
colors: {
  custom: {
    50: '#7488b2',
    500: '#335a92',
    950: '#000000',
  },
}
SCSS
$custom: #335a92;
$custom-light: #7488b2;
$custom-dark: #000000;
JSON
{
  "hex": "#335a92",
  "rgb": {
    "r": 51,
    "g": 90,
    "b": 146
  },
  "hsl": {
    "h": 215.368,
    "s": 48.223,
    "l": 38.627
  },
  "oklch": {
    "l": 0.4668,
    "c": 0.10171,
    "h": 257.6
  },
  "luminance": 0.10091
}

Semantic roles & 50–950 ramp

primary
#335A92
secondary
#B6976B
accent
#A050D8
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #335A92

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

Preview Lab → · Contrast checker → · Palette generator →

#335A92 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva