#335CA0#335CA0

#335CA0 is a mid, moderate blue. Relative luminance 0.109; OKLCH L 48.0% C 0.119 H 260.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#335CA0
RGBrgb(51, 92, 160)
HSLhsl(217, 52%, 41%)
HSVhsv(217, 68%, 63%)
CMYKcmyk(68.1%, 42.5%, 0%, 37.3%)
CIE-LABlab(39.40, 8.75, -41.15)
CIE-LCHlch(39.40, 42.07, 282.00°)
OKLaboklab(48.03% -0.0208 -0.1174)
OKLCHoklch(48.03% 0.119 260)
XYZxyz(11.5353, 10.8950, 34.7459)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335CA0 #A07733
analogous
#3393A0 #335CA0 #4133A0
triadic
#335CA0 #A0335C #5CA033
tetradic
#335CA0 #A03393 #A07733 #33A041
square
#335CA0 #A03393 #A07733 #33A041
split-complementary
#335CA0 #A04133 #93A033
monochromatic
#152743 #244172 #335CA0 #4B79C6 #799BD4

Accessibility & contrast

On white

6.61
#335CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#335CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335CA0
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335CA0#FFFFFF#000000##FFFFFF
##335CA01.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C62A3
Deuteranopia (green-blind)
#2B589F
Tritanopia (blue-blind)
#006C76
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #335ca0;
/* rgb */ color: rgb(51, 92, 160);
/* oklch */ color: oklch(48.0% 0.119 260.0);
Tailwind
colors: {
  custom: {
    50: '#7789bc',
    500: '#335ca0',
    950: '#000000',
  },
}
SCSS
$custom: #335ca0;
$custom-light: #7789bc;
$custom-dark: #000000;
JSON
{
  "hex": "#335ca0",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 160
  },
  "hsl": {
    "h": 217.431,
    "s": 51.659,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48027,
    "c": 0.11923,
    "h": 260
  },
  "luminance": 0.10896
}

Semantic roles & 50–950 ramp

primary
#335CA0
secondary
#BDA172
accent
#A64DDB
background
#F7F8FB
surface
#EEF0F6
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #335CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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