#335DB0#335DB0

#335DB0 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.3% C 0.141 H 262.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#335DB0
RGBrgb(51, 93, 176)
HSLhsl(220, 55%, 45%)
HSVhsv(220, 71%, 69%)
CMYKcmyk(71%, 47.2%, 0%, 31%)
CIE-LABlab(40.68, 14.05, -48.58)
CIE-LCHlch(40.68, 50.58, 286.13°)
OKLaboklab(49.33% -0.0188 -0.1392)
OKLCHoklch(49.33% 0.141 262.3)
XYZxyz(13.1133, 11.6657, 42.6265)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335DB0 #B08633
analogous
#339CB0 #335DB0 #4833B0
triadic
#335DB0 #B0335D #5DB033
tetradic
#335DB0 #B0339C #B08633 #33B048
square
#335DB0 #B0339C #B08633 #33B048
split-complementary
#335DB0 #B04833 #9CB033
monochromatic
#182B51 #254481 #335DB0 #537CCD #82A0DB

Accessibility & contrast

On white

6.30
#335DB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#335DB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335DB0
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335DB0#FFFFFF#000000##FFFFFF
##335DB01.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3266B3
Deuteranopia (green-blind)
#155BAE
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #335db0;
/* rgb */ color: rgb(51, 93, 176);
/* oklch */ color: oklch(49.3% 0.141 262.3);
Tailwind
colors: {
  custom: {
    50: '#7a8ac8',
    500: '#335db0',
    950: '#000000',
  },
}
SCSS
$custom: #335db0;
$custom-light: #7a8ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#335db0",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 176
  },
  "hsl": {
    "h": 219.84,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49329,
    "c": 0.1405,
    "h": 262.3
  },
  "luminance": 0.11667
}

Semantic roles & 50–950 ramp

primary
#335DB0
secondary
#C4AB7B
accent
#AC49DE
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #335DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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