#3335B4#3335B4

#3335B4 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 42.0% C 0.194 H 273.5°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#3335B4
RGBrgb(51, 53, 180)
HSLhsl(239, 56%, 45%)
HSVhsv(239, 72%, 71%)
CMYKcmyk(71.7%, 70.6%, 0%, 29.4%)
CIE-LABlab(30.75, 41.24, -67.11)
CIE-LCHlch(30.75, 78.77, 301.57°)
OKLaboklab(42.02% 0.012 -0.1941)
OKLCHoklch(42.02% 0.194 273.5)
XYZxyz(10.8738, 6.5442, 43.8613)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3335B4 #B4B233
analogous
#3375B4 #3335B4 #7233B4
triadic
#3335B4 #B43335 #35B433
tetradic
#3335B4 #B43375 #B4B233 #33B472
square
#3335B4 #B43375 #B4B233 #33B472
split-complementary
#3335B4 #B47233 #75B433
monochromatic
#181955 #252784 #3335B4 #5557CF #8586DC

Accessibility & contrast

On white

9.09
#3335B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3335B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3335B4
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3335B4#FFFFFF#000000##FFFFFF
##3335B41.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3335b4;
/* rgb */ color: rgb(51, 53, 180);
/* oklch */ color: oklch(42.0% 0.194 273.5);
Tailwind
colors: {
  custom: {
    50: '#7e6dcc',
    500: '#3335b4',
    950: '#000000',
  },
}
SCSS
$custom: #3335b4;
$custom-light: #7e6dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#3335b4",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 180
  },
  "hsl": {
    "h": 239.07,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42023,
    "c": 0.19443,
    "h": 273.5
  },
  "luminance": 0.06545
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3335B4

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

Preview Lab → · Contrast checker → · Palette generator →

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