#335DA3#335DA3

#335DA3 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.4% C 0.122 H 260.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#335DA3
RGBrgb(51, 93, 163)
HSLhsl(218, 52%, 42%)
HSVhsv(218, 69%, 64%)
CMYKcmyk(68.7%, 42.9%, 0%, 36.1%)
CIE-LABlab(39.87, 9.21, -42.18)
CIE-LCHlch(39.87, 43.18, 282.32°)
OKLaboklab(48.45% -0.0212 -0.1204)
OKLCHoklch(48.45% 0.122 260)
XYZxyz(11.8881, 11.1757, 36.1738)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335DA3 #A37933
analogous
#3395A3 #335DA3 #4133A3
triadic
#335DA3 #A3335D #5DA333
tetradic
#335DA3 #A33395 #A37933 #33A341
square
#335DA3 #A33395 #A37933 #33A341
split-complementary
#335DA3 #A34133 #95A333
monochromatic
#162846 #244274 #335DA3 #4C7AC7 #7B9DD6

Accessibility & contrast

On white

6.49
#335DA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#335DA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335DA3
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335DA3#FFFFFF#000000##FFFFFF
##335DA31.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C64A6
Deuteranopia (green-blind)
#2A59A2
Tritanopia (blue-blind)
#006D78
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #335da3;
/* rgb */ color: rgb(51, 93, 163);
/* oklch */ color: oklch(48.4% 0.122 260.0);
Tailwind
colors: {
  custom: {
    50: '#778abf',
    500: '#335da3',
    950: '#000000',
  },
}
SCSS
$custom: #335da3;
$custom-light: #778abf;
$custom-dark: #000000;
JSON
{
  "hex": "#335da3",
  "rgb": {
    "r": 51,
    "g": 93,
    "b": 163
  },
  "hsl": {
    "h": 217.5,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48449,
    "c": 0.12227,
    "h": 260
  },
  "luminance": 0.11177
}

Semantic roles & 50–950 ramp

primary
#335DA3
secondary
#BEA273
accent
#A64CDC
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #335DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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