#335DBF#335DBF

#335DBF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.161 H 264.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#335DBF
RGBrgb(51, 93, 191)
HSLhsl(222, 58%, 47%)
HSVhsv(222, 73%, 75%)
CMYKcmyk(73.3%, 51.3%, 0%, 25.1%)
CIE-LABlab(41.68, 19.66, -55.76)
CIE-LCHlch(41.68, 59.12, 289.42°)
OKLaboklab(50.41% -0.0168 -0.1603)
OKLCHoklch(50.41% 0.161 264)
XYZxyz(14.6802, 12.2925, 50.8791)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335DBF #BF9533
analogous
#33A3BF #335DBF #4F33BF
triadic
#335DBF #BF335D #5DBF33
tetradic
#335DBF #BF33A3 #BF9533 #33BF4F
square
#335DBF #BF33A3 #BF9533 #33BF4F
split-complementary
#335DBF #BF4F33 #A3BF33
monochromatic
#192E5E #26458F #335DBF #5C80D3 #8CA5E0

Accessibility & contrast

On white

6.07
#335DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#335DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335DBF
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335DBF#FFFFFF#000000##FFFFFF
##335DBF1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F69C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#007485
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #335dbf;
/* rgb */ color: rgb(51, 93, 191);
/* oklch */ color: oklch(50.4% 0.161 264.0);
Tailwind
colors: {
  custom: {
    50: '#7d8ad3',
    500: '#335dbf',
    950: '#000000',
  },
}
SCSS
$custom: #335dbf;
$custom-light: #7d8ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#335dbf",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 191
  },
  "hsl": {
    "h": 222,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5041,
    "c": 0.16122,
    "h": 264
  },
  "luminance": 0.12294
}

Semantic roles & 50–950 ramp

primary
#335DBF
secondary
#CBB583
accent
#B347E1
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #335DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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