#335CAD#335CAD

#335CAD is a mid, vivid blue. Relative luminance 0.114; OKLCH L 48.9% C 0.138 H 262.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#335CAD
RGBrgb(51, 92, 173)
HSLhsl(220, 54%, 44%)
HSVhsv(220, 71%, 68%)
CMYKcmyk(70.5%, 46.8%, 0%, 32.2%)
CIE-LABlab(40.20, 13.58, -47.58)
CIE-LCHlch(40.20, 49.48, 285.93°)
OKLaboklab(48.9% -0.0184 -0.1363)
OKLCHoklch(48.9% 0.138 262.3)
XYZxyz(12.7325, 11.3739, 41.0514)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335CAD #AD8433
analogous
#3399AD #335CAD #4733AD
triadic
#335CAD #AD335C #5CAD33
tetradic
#335CAD #AD3399 #AD8433 #33AD47
square
#335CAD #AD3399 #AD8433 #33AD47
split-complementary
#335CAD #AD4733 #99AD33
monochromatic
#172A4E #25437E #335CAD #517BCC #819FDA

Accessibility & contrast

On white

6.41
#335CAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#335CAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335CAD
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335CAD#FFFFFF#000000##FFFFFF
##335CAD1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3265B0
Deuteranopia (green-blind)
#1859AB
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #335cad;
/* rgb */ color: rgb(51, 92, 173);
/* oklch */ color: oklch(48.9% 0.138 262.3);
Tailwind
colors: {
  custom: {
    50: '#7989c6',
    500: '#335cad',
    950: '#000000',
  },
}
SCSS
$custom: #335cad;
$custom-light: #7989c6;
$custom-dark: #000000;
JSON
{
  "hex": "#335cad",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 173
  },
  "hsl": {
    "h": 219.836,
    "s": 54.464,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48902,
    "c": 0.13753,
    "h": 262.3
  },
  "luminance": 0.11375
}

Semantic roles & 50–950 ramp

primary
#335CAD
secondary
#C3AA79
accent
#AC4ADE
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #335CAD

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

Preview Lab → · Contrast checker → · Palette generator →

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