#335CBD#335CBD

#335CBD is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.1% C 0.160 H 264.2°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#335CBD
RGBrgb(51, 92, 189)
HSLhsl(222, 58%, 47%)
HSVhsv(222, 73%, 74%)
CMYKcmyk(73%, 51.3%, 0%, 25.9%)
CIE-LABlab(41.26, 19.56, -55.26)
CIE-LCHlch(41.26, 58.62, 289.49°)
OKLaboklab(50.05% -0.0162 -0.1589)
OKLCHoklch(50.05% 0.16 264.2)
XYZxyz(14.3744, 12.0307, 49.6988)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335CBD #BD9433
analogous
#33A1BD #335CBD #4F33BD
triadic
#335CBD #BD335C #5CBD33
tetradic
#335CBD #BD33A1 #BD9433 #33BD4F
square
#335CBD #BD33A1 #BD9433 #33BD4F
split-complementary
#335CBD #BD4F33 #A1BD33
monochromatic
#192D5D #26458D #335CBD #5B7ED3 #8BA4E0

Accessibility & contrast

On white

6.16
#335CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#335CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335CBD
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335CBD#FFFFFF#000000##FFFFFF
##335CBD1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F68C0
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #335cbd;
/* rgb */ color: rgb(51, 92, 189);
/* oklch */ color: oklch(50.1% 0.160 264.2);
Tailwind
colors: {
  custom: {
    50: '#7d89d1',
    500: '#335cbd',
    950: '#000000',
  },
}
SCSS
$custom: #335cbd;
$custom-light: #7d89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#335cbd",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 189
  },
  "hsl": {
    "h": 222.174,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50053,
    "c": 0.15971,
    "h": 264.2
  },
  "luminance": 0.12032
}

Semantic roles & 50–950 ramp

primary
#335CBD
secondary
#CAB482
accent
#B347E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #335CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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