#3333B6#3333B6

#3333B6 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.9% C 0.199 H 273.7°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#3333B6
RGBrgb(51, 51, 182)
HSLhsl(240, 56%, 46%)
HSVhsv(240, 72%, 71%)
CMYKcmyk(72%, 72%, 0%, 28.6%)
CIE-LABlab(30.52, 43.09, -68.68)
CIE-LCHlch(30.52, 81.08, 302.10°)
OKLaboklab(41.92% 0.0128 -0.1986)
OKLCHoklch(41.92% 0.199 273.7)
XYZxyz(10.9897, 6.4478, 44.9123)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333B6 #B6B633
analogous
#3374B6 #3333B6 #7433B6
triadic
#3333B6 #B63333 #33B633
tetradic
#3333B6 #B63374 #B6B633 #33B674
square
#3333B6 #B63374 #B6B633 #33B674
split-complementary
#3333B6 #B67433 #74B633
monochromatic
#181856 #262686 #3333B6 #5656D0 #8686DD

Accessibility & contrast

On white

9.17
#3333B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#3333B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3333B6
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3333B6#FFFFFF#000000##FFFFFF
##3333B61.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBA
Deuteranopia (green-blind)
#0042B4
Tritanopia (blue-blind)
#005871
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3333b6;
/* rgb */ color: rgb(51, 51, 182);
/* oklch */ color: oklch(41.9% 0.199 273.7);
Tailwind
colors: {
  custom: {
    50: '#7e6ccd',
    500: '#3333b6',
    950: '#000000',
  },
}
SCSS
$custom: #3333b6;
$custom-light: #7e6ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#3333b6",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 182
  },
  "hsl": {
    "h": 240,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41917,
    "c": 0.19904,
    "h": 273.7
  },
  "luminance": 0.06449
}

Semantic roles & 50–950 ramp

primary
#3333B6
secondary
#C7C77E
accent
#E048E0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3333B6

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

Preview Lab → · Contrast checker → · Palette generator →

#3333B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva