#335CAA#335CAA

#335CAA is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.7% C 0.133 H 261.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#335CAA
RGBrgb(51, 92, 170)
HSLhsl(219, 54%, 43%)
HSVhsv(219, 70%, 67%)
CMYKcmyk(70%, 45.9%, 0%, 33.3%)
CIE-LABlab(40.01, 12.46, -46.11)
CIE-LCHlch(40.01, 47.77, 285.12°)
OKLaboklab(48.7% -0.0189 -0.132)
OKLCHoklch(48.7% 0.133 261.9)
XYZxyz(12.4455, 11.2591, 39.5397)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335CAA #AA8133
analogous
#3397AA #335CAA #4633AA
triadic
#335CAA #AA335C #5CAA33
tetradic
#335CAA #AA3397 #AA8133 #33AA46
square
#335CAA #AA3397 #AA8133 #33AA46
split-complementary
#335CAA #AA4633 #97AA33
monochromatic
#17294C #25437B #335CAA #507ACA #7F9ED9

Accessibility & contrast

On white

6.46
#335CAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#335CAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335CAA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335CAA#FFFFFF#000000##FFFFFF
##335CAA1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3564AD
Deuteranopia (green-blind)
#1D59A8
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #335caa;
/* rgb */ color: rgb(51, 92, 170);
/* oklch */ color: oklch(48.7% 0.133 261.9);
Tailwind
colors: {
  custom: {
    50: '#7989c4',
    500: '#335caa',
    950: '#000000',
  },
}
SCSS
$custom: #335caa;
$custom-light: #7989c4;
$custom-dark: #000000;
JSON
{
  "hex": "#335caa",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 170
  },
  "hsl": {
    "h": 219.328,
    "s": 53.846,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48695,
    "c": 0.13332,
    "h": 261.9
  },
  "luminance": 0.1126
}

Semantic roles & 50–950 ramp

primary
#335CAA
secondary
#C2A877
accent
#AB4BDD
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #335CAA

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

Preview Lab → · Contrast checker → · Palette generator →

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