#335BBF#335BBF

#335BBF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.0% C 0.164 H 264.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#335BBF
RGBrgb(51, 91, 191)
HSLhsl(223, 58%, 47%)
HSVhsv(223, 73%, 75%)
CMYKcmyk(73.3%, 52.4%, 0%, 25.1%)
CIE-LABlab(41.13, 20.96, -56.64)
CIE-LCHlch(41.13, 60.39, 290.31°)
OKLaboklab(50% -0.0151 -0.163)
OKLCHoklch(50% 0.164 264.7)
XYZxyz(14.5070, 11.9460, 50.8214)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335BBF #BF9733
analogous
#33A1BF #335BBF #5133BF
triadic
#335BBF #BF335B #5BBF33
tetradic
#335BBF #BF33A1 #BF9733 #33BF51
square
#335BBF #BF33A1 #BF9733 #33BF51
split-complementary
#335BBF #BF5133 #A1BF33
monochromatic
#192D5E #26448F #335BBF #5C7ED3 #8CA4E0

Accessibility & contrast

On white

6.20
#335BBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #335BBF
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335BBF#FFFFFF#000000##FFFFFF
##335BBF1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1768C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #335bbf;
/* rgb */ color: rgb(51, 91, 191);
/* oklch */ color: oklch(50.0% 0.164 264.7);
Tailwind
colors: {
  custom: {
    50: '#7d88d3',
    500: '#335bbf',
    950: '#000000',
  },
}
SCSS
$custom: #335bbf;
$custom-light: #7d88d3;
$custom-dark: #000000;
JSON
{
  "hex": "#335bbf",
  "rgb": {
    "r": 51,
    "g": 91,
    "b": 191
  },
  "hsl": {
    "h": 222.857,
    "s": 57.851,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49995,
    "c": 0.16367,
    "h": 264.7
  },
  "luminance": 0.11948
}

Semantic roles & 50–950 ramp

primary
#335BBF
secondary
#CBB683
accent
#B547E1
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #335BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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