#335DC9#335DC9

#335DC9 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.2% C 0.175 H 264.8°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#335DC9
RGBrgb(51, 93, 201)
HSLhsl(223, 60%, 49%)
HSVhsv(223, 75%, 79%)
CMYKcmyk(74.6%, 53.7%, 0%, 21.2%)
CIE-LABlab(42.38, 23.39, -60.41)
CIE-LCHlch(42.38, 64.78, 291.16°)
OKLaboklab(51.17% -0.0158 -0.174)
OKLCHoklch(51.17% 0.175 264.8)
XYZxyz(15.8185, 12.7478, 56.8739)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335DC9 #C99F33
analogous
#33A8C9 #335DC9 #5433C9
triadic
#335DC9 #C9335D #5DC933
tetradic
#335DC9 #C933A8 #C99F33 #33C954
square
#335DC9 #C933A8 #C99F33 #33C954
split-complementary
#335DC9 #C95433 #A8C933
monochromatic
#1A3067 #274698 #335DC9 #6283D7 #93A9E4

Accessibility & contrast

On white

5.92
#335DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#335DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335DC9
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335DC9#FFFFFF#000000##FFFFFF
##335DC91.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026BCD
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #335dc9;
/* rgb */ color: rgb(51, 93, 201);
/* oklch */ color: oklch(51.2% 0.175 264.8);
Tailwind
colors: {
  custom: {
    50: '#7f8ada',
    500: '#335dc9',
    950: '#000000',
  },
}
SCSS
$custom: #335dc9;
$custom-light: #7f8ada;
$custom-dark: #000000;
JSON
{
  "hex": "#335dc9",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 201
  },
  "hsl": {
    "h": 223.2,
    "s": 59.524,
    "l": 49.412
  },
  "oklch": {
    "l": 0.51167,
    "c": 0.17476,
    "h": 264.8
  },
  "luminance": 0.1275
}

Semantic roles & 50–950 ramp

primary
#335DC9
secondary
#CFBB89
accent
#B745E3
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #335DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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