#335ABE#335ABE

#335ABE is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.7% C 0.164 H 264.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#335ABE
RGBrgb(51, 90, 190)
HSLhsl(223, 58%, 47%)
HSVhsv(223, 73%, 75%)
CMYKcmyk(73.2%, 52.6%, 0%, 25.5%)
CIE-LABlab(40.79, 21.23, -56.61)
CIE-LCHlch(40.79, 60.46, 290.56°)
OKLaboklab(49.71% -0.0144 -0.1629)
OKLCHoklch(49.71% 0.164 264.9)
XYZxyz(14.3124, 11.7323, 50.2155)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335ABE #BE9733
analogous
#33A0BE #335ABE #5133BE
triadic
#335ABE #BE335A #5ABE33
tetradic
#335ABE #BE33A0 #BE9733 #33BE51
square
#335ABE #BE33A0 #BE9733 #33BE51
split-complementary
#335ABE #BE5133 #A0BE33
monochromatic
#192C5E #26438E #335ABE #5B7DD3 #8BA3E0

Accessibility & contrast

On white

6.27
#335ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#335ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335ABE
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335ABE#FFFFFF#000000##FFFFFF
##335ABE1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1467C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #335abe;
/* rgb */ color: rgb(51, 90, 190);
/* oklch */ color: oklch(49.7% 0.164 264.9);
Tailwind
colors: {
  custom: {
    50: '#7d88d2',
    500: '#335abe',
    950: '#000000',
  },
}
SCSS
$custom: #335abe;
$custom-light: #7d88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#335abe",
  "rgb": {
    "r": 51,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 223.165,
    "s": 57.676,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49712,
    "c": 0.16355,
    "h": 264.9
  },
  "luminance": 0.11734
}

Semantic roles & 50–950 ramp

primary
#335ABE
secondary
#CAB683
accent
#B647E1
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #335ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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