#3335B7#3335B7

#3335B7 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.3% C 0.198 H 273.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#3335B7
RGBrgb(51, 53, 183)
HSLhsl(239, 56%, 46%)
HSVhsv(239, 72%, 72%)
CMYKcmyk(72.1%, 71%, 0%, 28.2%)
CIE-LABlab(31.04, 42.25, -68.41)
CIE-LCHlch(31.04, 80.41, 301.70°)
OKLaboklab(42.32% 0.0115 -0.1979)
OKLCHoklch(42.32% 0.198 273.3)
XYZxyz(11.1827, 6.6678, 45.4882)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3335B7 #B7B533
analogous
#3377B7 #3335B7 #7333B7
triadic
#3335B7 #B73335 #35B733
tetradic
#3335B7 #B73377 #B7B533 #33B773
square
#3335B7 #B73377 #B7B533 #33B773
split-complementary
#3335B7 #B77333 #77B733
monochromatic
#181957 #262787 #3335B7 #5759D0 #8788DE

Accessibility & contrast

On white

9.00
#3335B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#3335B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3335B7
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3335B7#FFFFFF#000000##FFFFFF
##3335B71.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBB
Deuteranopia (green-blind)
#0043B5
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3335b7;
/* rgb */ color: rgb(51, 53, 183);
/* oklch */ color: oklch(42.3% 0.198 273.3);
Tailwind
colors: {
  custom: {
    50: '#7e6dce',
    500: '#3335b7',
    950: '#000000',
  },
}
SCSS
$custom: #3335b7;
$custom-light: #7e6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#3335b7",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 183
  },
  "hsl": {
    "h": 239.091,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42321,
    "c": 0.19819,
    "h": 273.3
  },
  "luminance": 0.06669
}

Semantic roles & 50–950 ramp

primary
#3335B7
secondary
#C7C67F
accent
#DD48E0
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3335B7

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

Preview Lab → · Contrast checker → · Palette generator →

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