#335CA9#335CA9

#335CA9 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.6% C 0.132 H 261.7°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#335CA9
RGBrgb(51, 92, 169)
HSLhsl(219, 54%, 43%)
HSVhsv(219, 70%, 66%)
CMYKcmyk(69.8%, 45.6%, 0%, 33.7%)
CIE-LABlab(39.95, 12.09, -45.62)
CIE-LCHlch(39.95, 47.20, 284.84°)
OKLaboklab(48.63% -0.019 -0.1305)
OKLCHoklch(48.63% 0.132 261.7)
XYZxyz(12.3513, 11.2214, 39.0434)
Luminance0.1122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335CA9 #A98033
analogous
#3397A9 #335CA9 #4533A9
triadic
#335CA9 #A9335C #5CA933
tetradic
#335CA9 #A93397 #A98033 #33A945
square
#335CA9 #A93397 #A98033 #33A945
split-complementary
#335CA9 #A94533 #97A933
monochromatic
#17294B #25427A #335CA9 #4F7ACA #7E9DD8

Accessibility & contrast

On white

6.47
#335CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#335CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335CA9
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335CA9#FFFFFF#000000##FFFFFF
##335CA91.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3664AC
Deuteranopia (green-blind)
#1F59A7
Tritanopia (blue-blind)
#006E7A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #335ca9;
/* rgb */ color: rgb(51, 92, 169);
/* oklch */ color: oklch(48.6% 0.132 261.7);
Tailwind
colors: {
  custom: {
    50: '#7989c3',
    500: '#335ca9',
    950: '#000000',
  },
}
SCSS
$custom: #335ca9;
$custom-light: #7989c3;
$custom-dark: #000000;
JSON
{
  "hex": "#335ca9",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 169
  },
  "hsl": {
    "h": 219.153,
    "s": 53.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48627,
    "c": 0.13192,
    "h": 261.7
  },
  "luminance": 0.11223
}

Semantic roles & 50–950 ramp

primary
#335CA9
secondary
#C1A777
accent
#AA4BDD
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #335CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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