#335AC3#335AC3

#335AC3 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.1% C 0.170 H 265.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#335AC3
RGBrgb(51, 90, 195)
HSLhsl(224, 59%, 48%)
HSVhsv(224, 74%, 76%)
CMYKcmyk(73.8%, 53.8%, 0%, 23.5%)
CIE-LABlab(41.14, 23.10, -58.94)
CIE-LCHlch(41.14, 63.31, 291.40°)
OKLaboklab(50.1% -0.014 -0.1698)
OKLCHoklch(50.1% 0.17 265.3)
XYZxyz(14.8683, 11.9547, 53.1431)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335AC3 #C39C33
analogous
#33A2C3 #335AC3 #5433C3
triadic
#335AC3 #C3335A #5AC333
tetradic
#335AC3 #C333A2 #C39C33 #33C354
square
#335AC3 #C333A2 #C39C33 #33C354
split-complementary
#335AC3 #C35433 #A2C333
monochromatic
#1A2D62 #264492 #335AC3 #5E7ED5 #8FA5E2

Accessibility & contrast

On white

6.19
#335AC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#335AC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335AC3
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335AC3#FFFFFF#000000##FFFFFF
##335AC31.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0368C7
Deuteranopia (green-blind)
#005BC1
Tritanopia (blue-blind)
#007486
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #335ac3;
/* rgb */ color: rgb(51, 90, 195);
/* oklch */ color: oklch(50.1% 0.170 265.3);
Tailwind
colors: {
  custom: {
    50: '#7e88d6',
    500: '#335ac3',
    950: '#000000',
  },
}
SCSS
$custom: #335ac3;
$custom-light: #7e88d6;
$custom-dark: #000000;
JSON
{
  "hex": "#335ac3",
  "rgb": {
    "r": 51,
    "g": 90,
    "b": 195
  },
  "hsl": {
    "h": 223.75,
    "s": 58.537,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50095,
    "c": 0.17035,
    "h": 265.3
  },
  "luminance": 0.11956
}

Semantic roles & 50–950 ramp

primary
#335AC3
secondary
#CCB986
accent
#B846E2
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #335AC3

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

Preview Lab → · Contrast checker → · Palette generator →

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