#335ABD#335ABD

#335ABD is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.6% C 0.162 H 264.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#335ABD
RGBrgb(51, 90, 189)
HSLhsl(223, 58%, 47%)
HSVhsv(223, 73%, 74%)
CMYKcmyk(73%, 52.4%, 0%, 25.9%)
CIE-LABlab(40.72, 20.86, -56.14)
CIE-LCHlch(40.72, 59.89, 290.38°)
OKLaboklab(49.64% -0.0145 -0.1615)
OKLCHoklch(49.64% 0.162 264.9)
XYZxyz(14.2035, 11.6887, 49.6418)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335ABD #BD9633
analogous
#339FBD #335ABD #5133BD
triadic
#335ABD #BD335A #5ABD33
tetradic
#335ABD #BD339F #BD9633 #33BD51
square
#335ABD #BD339F #BD9633 #33BD51
split-complementary
#335ABD #BD5133 #9FBD33
monochromatic
#192C5D #26438D #335ABD #5B7DD3 #8BA3E0

Accessibility & contrast

On white

6.29
#335ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#335ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335ABD
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335ABD#FFFFFF#000000##FFFFFF
##335ABD1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1767C1
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #335abd;
/* rgb */ color: rgb(51, 90, 189);
/* oklch */ color: oklch(49.6% 0.162 264.9);
Tailwind
colors: {
  custom: {
    50: '#7d88d2',
    500: '#335abd',
    950: '#000000',
  },
}
SCSS
$custom: #335abd;
$custom-light: #7d88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#335abd",
  "rgb": {
    "r": 51,
    "g": 90,
    "b": 189
  },
  "hsl": {
    "h": 223.043,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49637,
    "c": 0.16218,
    "h": 264.9
  },
  "luminance": 0.1169
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #335ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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