#3335B3#3335B3

#3335B3 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.9% C 0.193 H 273.6°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#3335B3
RGBrgb(51, 53, 179)
HSLhsl(239, 56%, 45%)
HSVhsv(239, 72%, 70%)
CMYKcmyk(71.5%, 70.4%, 0%, 29.8%)
CIE-LABlab(30.65, 40.90, -66.68)
CIE-LCHlch(30.65, 78.22, 301.52°)
OKLaboklab(41.92% 0.0121 -0.1928)
OKLCHoklch(41.92% 0.193 273.6)
XYZxyz(10.7723, 6.5036, 43.3267)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3335B3 #B3B133
analogous
#3375B3 #3335B3 #7133B3
triadic
#3335B3 #B33335 #35B333
tetradic
#3335B3 #B33375 #B3B133 #33B371
square
#3335B3 #B33375 #B3B133 #33B371
split-complementary
#3335B3 #B37133 #75B333
monochromatic
#181954 #252783 #3335B3 #5557CE #8486DC

Accessibility & contrast

On white

9.13
#3335B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3335B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3335B3
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3335B3#FFFFFF#000000##FFFFFF
##3335B31.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB7
Deuteranopia (green-blind)
#0042B1
Tritanopia (blue-blind)
#005870
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3335b3;
/* rgb */ color: rgb(51, 53, 179);
/* oklch */ color: oklch(41.9% 0.193 273.6);
Tailwind
colors: {
  custom: {
    50: '#7d6dcb',
    500: '#3335b3',
    950: '#000000',
  },
}
SCSS
$custom: #3335b3;
$custom-light: #7d6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#3335b3",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 239.063,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41924,
    "c": 0.19317,
    "h": 273.6
  },
  "luminance": 0.06505
}

Semantic roles & 50–950 ramp

primary
#3335B3
secondary
#C6C47C
accent
#DD49DF
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3335B3

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

Preview Lab → · Contrast checker → · Palette generator →

#3335B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva