#335CB0#335CB0

#335CB0 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.1% C 0.142 H 262.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#335CB0
RGBrgb(51, 92, 176)
HSLhsl(220, 55%, 45%)
HSVhsv(220, 71%, 69%)
CMYKcmyk(71%, 47.7%, 0%, 31%)
CIE-LABlab(40.40, 14.70, -49.04)
CIE-LCHlch(40.40, 51.20, 286.69°)
OKLaboklab(49.11% -0.0179 -0.1406)
OKLCHoklch(49.11% 0.142 262.7)
XYZxyz(13.0261, 11.4913, 42.5974)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#335CB0 #B08733
analogous
#339BB0 #335CB0 #4933B0
triadic
#335CB0 #B0335C #5CB033
tetradic
#335CB0 #B0339B #B08733 #33B049
square
#335CB0 #B0339B #B08733 #33B049
split-complementary
#335CB0 #B04933 #9BB033
monochromatic
#182A51 #254381 #335CB0 #537BCD #829FDB

Accessibility & contrast

On white

6.37
#335CB0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#335CB0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #335CB0
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##335CB0#FFFFFF#000000##FFFFFF
##335CB01.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F65B3
Deuteranopia (green-blind)
#105AAE
Tritanopia (blue-blind)
#00707D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #335cb0;
/* rgb */ color: rgb(51, 92, 176);
/* oklch */ color: oklch(49.1% 0.142 262.7);
Tailwind
colors: {
  custom: {
    50: '#7a89c8',
    500: '#335cb0',
    950: '#000000',
  },
}
SCSS
$custom: #335cb0;
$custom-light: #7a89c8;
$custom-dark: #000000;
JSON
{
  "hex": "#335cb0",
  "rgb": {
    "r": 51,
    "g": 92,
    "b": 176
  },
  "hsl": {
    "h": 220.32,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49112,
    "c": 0.14172,
    "h": 262.7
  },
  "luminance": 0.11493
}

Semantic roles & 50–950 ramp

primary
#335CB0
secondary
#C4AC7B
accent
#AE49DE
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #335CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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