#335BBC#335BBC

#335BBC is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.8% C 0.160 H 264.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#335BBC
RGBrgb(51, 91, 188)
HSLhsl(222, 57%, 47%)
HSVhsv(222, 73%, 74%)
CMYKcmyk(72.9%, 51.6%, 0%, 26.3%)
CIE-LABlab(40.92, 19.84, -55.23)
CIE-LCHlch(40.92, 58.68, 289.76°)
OKLaboklab(49.77% -0.0155 -0.1588)
OKLCHoklch(49.77% 0.16 264.4)
XYZxyz(14.1802, 11.8153, 49.1005)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335BBC #BC9433
analogous
#33A0BC #335BBC #5033BC
triadic
#335BBC #BC335B #5BBC33
tetradic
#335BBC #BC33A0 #BC9433 #33BC50
square
#335BBC #BC33A0 #BC9433 #33BC50
split-complementary
#335BBC #BC5033 #A0BC33
monochromatic
#192C5C #26448C #335BBC #5A7DD2 #8AA3DF

Accessibility & contrast

On white

6.24
#335BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#335BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335BBC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335BBC#FFFFFF#000000##FFFFFF
##335BBC1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D67BF
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #335bbc;
/* rgb */ color: rgb(51, 91, 188);
/* oklch */ color: oklch(49.8% 0.160 264.4);
Tailwind
colors: {
  custom: {
    50: '#7d88d1',
    500: '#335bbc',
    950: '#000000',
  },
}
SCSS
$custom: #335bbc;
$custom-light: #7d88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#335bbc",
  "rgb": {
    "r": 51,
    "g": 91,
    "b": 188
  },
  "hsl": {
    "h": 222.482,
    "s": 57.322,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49769,
    "c": 0.15957,
    "h": 264.4
  },
  "luminance": 0.11817
}

Semantic roles & 50–950 ramp

primary
#335BBC
secondary
#C9B481
accent
#B447E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #335BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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