#335ABC#335ABC

#335ABC is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.6% C 0.161 H 264.8°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#335ABC
RGBrgb(51, 90, 188)
HSLhsl(223, 57%, 47%)
HSVhsv(223, 73%, 74%)
CMYKcmyk(72.9%, 52.1%, 0%, 26.3%)
CIE-LABlab(40.65, 20.49, -55.67)
CIE-LCHlch(40.65, 59.32, 290.20°)
OKLaboklab(49.56% -0.0146 -0.1601)
OKLCHoklch(49.56% 0.161 264.8)
XYZxyz(14.0953, 11.6455, 49.0722)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335ABC #BC9533
analogous
#339FBC #335ABC #5133BC
triadic
#335ABC #BC335A #5ABC33
tetradic
#335ABC #BC339F #BC9533 #33BC51
square
#335ABC #BC339F #BC9533 #33BC51
split-complementary
#335ABC #BC5133 #9FBC33
monochromatic
#192C5C #26438C #335ABC #5A7CD2 #8AA2DF

Accessibility & contrast

On white

6.31
#335ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#335ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335ABC
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335ABC#FFFFFF#000000##FFFFFF
##335ABC1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1966BF
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #335abc;
/* rgb */ color: rgb(51, 90, 188);
/* oklch */ color: oklch(49.6% 0.161 264.8);
Tailwind
colors: {
  custom: {
    50: '#7d88d1',
    500: '#335abc',
    950: '#000000',
  },
}
SCSS
$custom: #335abc;
$custom-light: #7d88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#335abc",
  "rgb": {
    "r": 51,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 222.92,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49561,
    "c": 0.16081,
    "h": 264.8
  },
  "luminance": 0.11647
}

Semantic roles & 50–950 ramp

primary
#335ABC
secondary
#C9B581
accent
#B547E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #335ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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