#335AAE#335AAE

#335AAE is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.5% C 0.141 H 263.4°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#335AAE
RGBrgb(51, 90, 174)
HSLhsl(221, 55%, 44%)
HSVhsv(221, 71%, 68%)
CMYKcmyk(70.7%, 48.3%, 0%, 31.8%)
CIE-LABlab(39.70, 15.26, -48.98)
CIE-LCHlch(39.70, 51.30, 287.30°)
OKLaboklab(48.54% -0.0164 -0.1404)
OKLCHoklch(48.54% 0.141 263.4)
XYZxyz(12.6587, 11.0708, 41.5059)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335AAE #AE8733
analogous
#3398AE #335AAE #4A33AE
triadic
#335AAE #AE335A #5AAE33
tetradic
#335AAE #AE3398 #AE8733 #33AE4A
square
#335AAE #AE3398 #AE8733 #33AE4A
split-complementary
#335AAE #AE4A33 #98AE33
monochromatic
#17294F #25427F #335AAE #5279CC #819DDA

Accessibility & contrast

On white

6.53
#335AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#335AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335AAE
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335AAE#FFFFFF#000000##FFFFFF
##335AAE1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D64B1
Deuteranopia (green-blind)
#0C58AC
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #335aae;
/* rgb */ color: rgb(51, 90, 174);
/* oklch */ color: oklch(48.5% 0.141 263.4);
Tailwind
colors: {
  custom: {
    50: '#7a88c7',
    500: '#335aae',
    950: '#000000',
  },
}
SCSS
$custom: #335aae;
$custom-light: #7a88c7;
$custom-dark: #000000;
JSON
{
  "hex": "#335aae",
  "rgb": {
    "r": 51,
    "g": 90,
    "b": 174
  },
  "hsl": {
    "h": 220.976,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48536,
    "c": 0.1414,
    "h": 263.4
  },
  "luminance": 0.11072
}

Semantic roles & 50–950 ramp

primary
#335AAE
secondary
#C3AC79
accent
#AF4ADE
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #335AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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