#335DC1#335DC1

#335DC1 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.6% C 0.164 H 264.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#335DC1
RGBrgb(51, 93, 193)
HSLhsl(222, 58%, 48%)
HSVhsv(222, 74%, 76%)
CMYKcmyk(73.6%, 51.8%, 0%, 24.3%)
CIE-LABlab(41.82, 20.41, -56.70)
CIE-LCHlch(41.82, 60.26, 289.79°)
OKLaboklab(50.56% -0.0166 -0.1631)
OKLCHoklch(50.56% 0.164 264.2)
XYZxyz(14.9018, 12.3811, 52.0462)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335DC1 #C19733
analogous
#33A4C1 #335DC1 #5033C1
triadic
#335DC1 #C1335D #5DC133
tetradic
#335DC1 #C133A4 #C19733 #33C150
square
#335DC1 #C133A4 #C19733 #33C150
split-complementary
#335DC1 #C15033 #A4C133
monochromatic
#192E60 #264691 #335DC1 #5D80D4 #8DA6E1

Accessibility & contrast

On white

6.04
#335DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#335DC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335DC1
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335DC1#FFFFFF#000000##FFFFFF
##335DC11.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6AC5
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #335dc1;
/* rgb */ color: rgb(51, 93, 193);
/* oklch */ color: oklch(50.6% 0.164 264.2);
Tailwind
colors: {
  custom: {
    50: '#7e8ad4',
    500: '#335dc1',
    950: '#000000',
  },
}
SCSS
$custom: #335dc1;
$custom-light: #7e8ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#335dc1",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 193
  },
  "hsl": {
    "h": 222.254,
    "s": 58.197,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5056,
    "c": 0.16394,
    "h": 264.2
  },
  "luminance": 0.12383
}

Semantic roles & 50–950 ramp

primary
#335DC1
secondary
#CBB684
accent
#B446E1
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #335DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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