#335CAE#335CAE

#335CAE is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.0% C 0.139 H 262.5°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#335CAE
RGBrgb(51, 92, 174)
HSLhsl(220, 55%, 44%)
HSVhsv(220, 71%, 68%)
CMYKcmyk(70.7%, 47.1%, 0%, 31.8%)
CIE-LABlab(40.27, 13.95, -48.07)
CIE-LCHlch(40.27, 50.05, 286.19°)
OKLaboklab(48.97% -0.0182 -0.1377)
OKLCHoklch(48.97% 0.139 262.5)
XYZxyz(12.8297, 11.4128, 41.5629)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335CAE #AE8533
analogous
#339AAE #335CAE #4833AE
triadic
#335CAE #AE335C #5CAE33
tetradic
#335CAE #AE339A #AE8533 #33AE48
square
#335CAE #AE339A #AE8533 #33AE48
split-complementary
#335CAE #AE4833 #9AAE33
monochromatic
#172A4F #25437F #335CAE #527BCC #819FDA

Accessibility & contrast

On white

6.40
#335CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #335CAE
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335CAE#FFFFFF#000000##FFFFFF
##335CAE1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3165B1
Deuteranopia (green-blind)
#165AAC
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #335cae;
/* rgb */ color: rgb(51, 92, 174);
/* oklch */ color: oklch(49.0% 0.139 262.5);
Tailwind
colors: {
  custom: {
    50: '#7a89c7',
    500: '#335cae',
    950: '#000000',
  },
}
SCSS
$custom: #335cae;
$custom-light: #7a89c7;
$custom-dark: #000000;
JSON
{
  "hex": "#335cae",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 174
  },
  "hsl": {
    "h": 220,
    "s": 54.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48971,
    "c": 0.13894,
    "h": 262.5
  },
  "luminance": 0.11414
}

Semantic roles & 50–950 ramp

primary
#335CAE
secondary
#C3AB79
accent
#AD4ADE
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #335CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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