#335ADB#335ADB

#335ADB is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.0% C 0.202 H 266.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#335ADB
RGBrgb(51, 90, 219)
HSLhsl(226, 70%, 53%)
HSVhsv(226, 77%, 86%)
CMYKcmyk(76.7%, 58.9%, 0%, 14.1%)
CIE-LABlab(42.96, 31.96, -69.81)
CIE-LCHlch(42.96, 76.77, 294.60°)
OKLaboklab(52.03% -0.0128 -0.2017)
OKLCHoklch(52.03% 0.202 266.4)
XYZxyz(17.8031, 13.1286, 68.5999)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335ADB #DBB433
analogous
#33AEDB #335ADB #6033DB
triadic
#335ADB #DB335A #5ADB33
tetradic
#335ADB #DB33AE #DBB433 #33DB60
square
#335ADB #DB33AE #DBB433 #33DB60
split-complementary
#335ADB #DB6033 #AEDB33
monochromatic
#162E7D #1F41B1 #335ADB #6784E4 #9BAEED

Accessibility & contrast

On white

5.79
#335ADB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#335ADB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335ADB
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335ADB#FFFFFF#000000##FFFFFF
##335ADB1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #335adb;
/* rgb */ color: rgb(51, 90, 219);
/* oklch */ color: oklch(52.0% 0.202 266.4);
Tailwind
colors: {
  custom: {
    50: '#8488e7',
    500: '#335adb',
    950: '#000000',
  },
}
SCSS
$custom: #335adb;
$custom-light: #8488e7;
$custom-dark: #000000;
JSON
{
  "hex": "#335adb",
  "rgb": {
    "r": 51,
    "g": 90,
    "b": 219
  },
  "hsl": {
    "h": 226.071,
    "s": 70,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52025,
    "c": 0.2021,
    "h": 266.4
  },
  "luminance": 0.13131
}

Semantic roles & 50–950 ramp

primary
#335ADB
secondary
#D9C891
accent
#C43BED
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0D0B16
muted
#7D7C84

Preview Lab

Preview with #335ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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