#3335BA#3335BA

#3335BA is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 42.6% C 0.202 H 273.1°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#3335BA
RGBrgb(51, 53, 186)
HSLhsl(239, 57%, 46%)
HSVhsv(239, 73%, 73%)
CMYKcmyk(72.6%, 71.5%, 0%, 27.1%)
CIE-LABlab(31.33, 43.26, -69.70)
CIE-LCHlch(31.33, 82.04, 301.83°)
OKLaboklab(42.62% 0.0111 -0.2016)
OKLCHoklch(42.62% 0.202 273.1)
XYZxyz(11.4983, 6.7940, 47.1503)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3335BA #BAB833
analogous
#3379BA #3335BA #7533BA
triadic
#3335BA #BA3335 #35BA33
tetradic
#3335BA #BA3379 #BAB833 #33BA75
square
#3335BA #BA3379 #BAB833 #33BA75
split-complementary
#3335BA #BA7533 #79BA33
monochromatic
#191A5A #26278A #3335BA #595BD1 #898ADF

Accessibility & contrast

On white

8.90
#3335BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3335BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3335BA
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3335BA#FFFFFF#000000##FFFFFF
##3335BA1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BE
Deuteranopia (green-blind)
#0043B8
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3335ba;
/* rgb */ color: rgb(51, 53, 186);
/* oklch */ color: oklch(42.6% 0.202 273.1);
Tailwind
colors: {
  custom: {
    50: '#7f6dd0',
    500: '#3335ba',
    950: '#000000',
  },
}
SCSS
$custom: #3335ba;
$custom-light: #7f6dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3335ba",
  "rgb": {
    "r": 51,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 239.111,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42622,
    "c": 0.20192,
    "h": 273.1
  },
  "luminance": 0.06795
}

Semantic roles & 50–950 ramp

primary
#3335BA
secondary
#C9C780
accent
#DE48E0
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3335BA

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

Preview Lab → · Contrast checker → · Palette generator →

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