#335BBD#335BBD

#335BBD is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.8% C 0.161 H 264.5°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#335BBD
RGBrgb(51, 91, 189)
HSLhsl(223, 58%, 47%)
HSVhsv(223, 73%, 74%)
CMYKcmyk(73%, 51.9%, 0%, 25.9%)
CIE-LABlab(40.99, 20.21, -55.70)
CIE-LCHlch(40.99, 59.25, 289.94°)
OKLaboklab(49.84% -0.0153 -0.1602)
OKLCHoklch(49.84% 0.161 264.5)
XYZxyz(14.2884, 11.8586, 49.6701)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335BBD #BD9533
analogous
#33A0BD #335BBD #5033BD
triadic
#335BBD #BD335B #5BBD33
tetradic
#335BBD #BD33A0 #BD9533 #33BD50
square
#335BBD #BD33A0 #BD9533 #33BD50
split-complementary
#335BBD #BD5033 #A0BD33
monochromatic
#192D5D #26448D #335BBD #5B7DD3 #8BA3E0

Accessibility & contrast

On white

6.23
#335BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#335BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335BBD
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335BBD#FFFFFF#000000##FFFFFF
##335BBD1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #335bbd;
/* rgb */ color: rgb(51, 91, 189);
/* oklch */ color: oklch(49.8% 0.161 264.5);
Tailwind
colors: {
  custom: {
    50: '#7d88d2',
    500: '#335bbd',
    950: '#000000',
  },
}
SCSS
$custom: #335bbd;
$custom-light: #7d88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#335bbd",
  "rgb": {
    "r": 51,
    "g": 91,
    "b": 189
  },
  "hsl": {
    "h": 222.609,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49844,
    "c": 0.16094,
    "h": 264.5
  },
  "luminance": 0.1186
}

Semantic roles & 50–950 ramp

primary
#335BBD
secondary
#CAB582
accent
#B447E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #335BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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