#335FD3#335FD3

#335FD3 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.3% C 0.186 H 264.9°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#335FD3
RGBrgb(51, 95, 211)
HSLhsl(224, 65%, 51%)
HSVhsv(224, 76%, 83%)
CMYKcmyk(75.8%, 55%, 0%, 17.3%)
CIE-LABlab(43.64, 25.81, -64.12)
CIE-LCHlch(43.64, 69.12, 291.93°)
OKLaboklab(52.35% -0.0165 -0.1849)
OKLCHoklch(52.35% 0.186 264.9)
XYZxyz(17.2112, 13.5894, 63.3313)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335FD3 #D3A733
analogous
#33AFD3 #335FD3 #5733D3
triadic
#335FD3 #D3335F #5FD333
tetradic
#335FD3 #D333AF #D3A733 #33D357
square
#335FD3 #D333AF #D3A733 #33D357
split-complementary
#335FD3 #D35733 #AFD333
monochromatic
#193273 #2447A5 #335FD3 #6586DE #98AEE9

Accessibility & contrast

On white

5.65
#335FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#335FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335FD3
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335FD3#FFFFFF#000000##FFFFFF
##335FD31.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD7
Deuteranopia (green-blind)
#0060D1
Tritanopia (blue-blind)
#007C90
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #335fd3;
/* rgb */ color: rgb(51, 95, 211);
/* oklch */ color: oklch(52.3% 0.186 264.9);
Tailwind
colors: {
  custom: {
    50: '#828be1',
    500: '#335fd3',
    950: '#000000',
  },
}
SCSS
$custom: #335fd3;
$custom-light: #828be1;
$custom-dark: #000000;
JSON
{
  "hex": "#335fd3",
  "rgb": {
    "r": 51,
    "g": 95,
    "b": 211
  },
  "hsl": {
    "h": 223.5,
    "s": 64.516,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52346,
    "c": 0.18566,
    "h": 264.9
  },
  "luminance": 0.13591
}

Semantic roles & 50–950 ramp

primary
#335FD3
secondary
#D4C18E
accent
#BA40E8
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83

Preview Lab

Preview with #335FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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