#335ACD#335ACD

#335ACD is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.9% C 0.184 H 265.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#335ACD
RGBrgb(51, 90, 205)
HSLhsl(225, 61%, 50%)
HSVhsv(225, 75%, 80%)
CMYKcmyk(75.1%, 56.1%, 0%, 19.6%)
CIE-LABlab(41.88, 26.81, -63.53)
CIE-LCHlch(41.88, 68.96, 292.88°)
OKLaboklab(50.88% -0.0133 -0.1833)
OKLCHoklch(50.88% 0.184 265.8)
XYZxyz(16.0370, 12.4221, 59.2983)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335ACD #CDA633
analogous
#33A7CD #335ACD #5933CD
triadic
#335ACD #CD335A #5ACD33
tetradic
#335ACD #CD33A7 #CDA633 #33CD59
square
#335ACD #CD33A7 #CDA633 #33CD59
split-complementary
#335ACD #CD5933 #A7CD33
monochromatic
#1A2F6B #26449C #335ACD #6482D9 #95AAE5

Accessibility & contrast

On white

6.03
#335ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#335ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335ACD
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335ACD#FFFFFF#000000##FFFFFF
##335ACD1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#005CCB
Tritanopia (blue-blind)
#00768B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #335acd;
/* rgb */ color: rgb(51, 90, 205);
/* oklch */ color: oklch(50.9% 0.184 265.8);
Tailwind
colors: {
  custom: {
    50: '#8088dd',
    500: '#335acd',
    950: '#000000',
  },
}
SCSS
$custom: #335acd;
$custom-light: #8088dd;
$custom-dark: #000000;
JSON
{
  "hex": "#335acd",
  "rgb": {
    "r": 51,
    "g": 90,
    "b": 205
  },
  "hsl": {
    "h": 224.805,
    "s": 60.63,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50882,
    "c": 0.18375,
    "h": 265.8
  },
  "luminance": 0.12424
}

Semantic roles & 50–950 ramp

primary
#335ACD
secondary
#D0BF8B
accent
#BB44E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #335ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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