#3335B5#3335B5

#3335B5 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.1% C 0.196 H 273.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#3335B5
RGBrgb(51, 53, 181)
HSLhsl(239, 56%, 45%)
HSVhsv(239, 72%, 71%)
CMYKcmyk(71.8%, 70.7%, 0%, 29%)
CIE-LABlab(30.84, 41.58, -67.55)
CIE-LCHlch(30.84, 79.32, 301.61°)
OKLaboklab(42.12% 0.0118 -0.1953)
OKLCHoklch(42.12% 0.196 273.5)
XYZxyz(10.9760, 6.5851, 44.3997)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3335B5 #B5B333
analogous
#3376B5 #3335B5 #7233B5
triadic
#3335B5 #B53335 #35B533
tetradic
#3335B5 #B53376 #B5B333 #33B572
square
#3335B5 #B53376 #B5B333 #33B572
split-complementary
#3335B5 #B57233 #76B533
monochromatic
#181956 #262785 #3335B5 #5658CF #8687DD

Accessibility & contrast

On white

9.06
#3335B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3335B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3335B5
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3335B5#FFFFFF#000000##FFFFFF
##3335B51.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#0042B3
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3335b5;
/* rgb */ color: rgb(51, 53, 181);
/* oklch */ color: oklch(42.1% 0.196 273.5);
Tailwind
colors: {
  custom: {
    50: '#7e6dcc',
    500: '#3335b5',
    950: '#000000',
  },
}
SCSS
$custom: #3335b5;
$custom-light: #7e6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3335b5",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 181
  },
  "hsl": {
    "h": 239.077,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.42122,
    "c": 0.19569,
    "h": 273.5
  },
  "luminance": 0.06586
}

Semantic roles & 50–950 ramp

primary
#3335B5
secondary
#C6C57D
accent
#DD48DF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #3335B5

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

Preview Lab → · Contrast checker → · Palette generator →

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