#3336BA#3336BA

#3336BA is a dark, highly saturated blue. Relative luminance 0.069; OKLCH L 42.8% C 0.201 H 273.0°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#3336BA
RGBrgb(51, 54, 186)
HSLhsl(239, 57%, 46%)
HSVhsv(239, 73%, 73%)
CMYKcmyk(72.6%, 71%, 0%, 27.1%)
CIE-LABlab(31.55, 42.68, -69.35)
CIE-LCHlch(31.55, 81.43, 301.61°)
OKLaboklab(42.77% 0.0105 -0.2006)
OKLCHoklch(42.77% 0.201 273)
XYZxyz(11.5444, 6.8861, 47.1656)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3336BA #BAB733
analogous
#337ABA #3336BA #7433BA
triadic
#3336BA #BA3336 #36BA33
tetradic
#3336BA #BA337A #BAB733 #33BA74
square
#3336BA #BA337A #BAB733 #33BA74
split-complementary
#3336BA #BA7433 #7ABA33
monochromatic
#191A5A #26288A #3336BA #595BD1 #898BDF

Accessibility & contrast

On white

8.83
#3336BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3336BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3336BA
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3336BA#FFFFFF#000000##FFFFFF
##3336BA1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BE
Deuteranopia (green-blind)
#0044B8
Tritanopia (blue-blind)
#005B74
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3336ba;
/* rgb */ color: rgb(51, 54, 186);
/* oklch */ color: oklch(42.8% 0.201 273.0);
Tailwind
colors: {
  custom: {
    50: '#7f6ed0',
    500: '#3336ba',
    950: '#000000',
  },
}
SCSS
$custom: #3336ba;
$custom-light: #7f6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#3336ba",
  "rgb": {
    "r": 51,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 238.667,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42774,
    "c": 0.20088,
    "h": 273
  },
  "luminance": 0.06887
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3336BA

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

Preview Lab → · Contrast checker → · Palette generator →

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