#335BBE#335BBE

#335BBE is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.9% C 0.162 H 264.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#335BBE
RGBrgb(51, 91, 190)
HSLhsl(223, 58%, 47%)
HSVhsv(223, 73%, 75%)
CMYKcmyk(73.2%, 52.1%, 0%, 25.5%)
CIE-LABlab(41.06, 20.58, -56.17)
CIE-LCHlch(41.06, 59.82, 290.13°)
OKLaboklab(49.92% -0.0152 -0.1616)
OKLCHoklch(49.92% 0.162 264.6)
XYZxyz(14.3973, 11.9021, 50.2438)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335BBE #BE9633
analogous
#33A0BE #335BBE #5133BE
triadic
#335BBE #BE335B #5BBE33
tetradic
#335BBE #BE33A0 #BE9633 #33BE51
square
#335BBE #BE33A0 #BE9633 #33BE51
split-complementary
#335BBE #BE5133 #A0BE33
monochromatic
#192D5E #26448E #335BBE #5B7ED3 #8BA4E0

Accessibility & contrast

On white

6.21
#335BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#335BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335BBE
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335BBE#FFFFFF#000000##FFFFFF
##335BBE1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1968C2
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#007384
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #335bbe;
/* rgb */ color: rgb(51, 91, 190);
/* oklch */ color: oklch(49.9% 0.162 264.6);
Tailwind
colors: {
  custom: {
    50: '#7d88d2',
    500: '#335bbe',
    950: '#000000',
  },
}
SCSS
$custom: #335bbe;
$custom-light: #7d88d2;
$custom-dark: #000000;
JSON
{
  "hex": "#335bbe",
  "rgb": {
    "r": 51,
    "g": 91,
    "b": 190
  },
  "hsl": {
    "h": 222.734,
    "s": 57.676,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49919,
    "c": 0.16231,
    "h": 264.6
  },
  "luminance": 0.11904
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #335BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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