#3333B4#3333B4

#3333B4 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.7% C 0.197 H 273.8°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#3333B4
RGBrgb(51, 51, 180)
HSLhsl(240, 56%, 45%)
HSVhsv(240, 72%, 71%)
CMYKcmyk(71.7%, 71.7%, 0%, 29.4%)
CIE-LABlab(30.32, 42.42, -67.82)
CIE-LCHlch(30.32, 79.99, 302.03°)
OKLaboklab(41.72% 0.0131 -0.1961)
OKLCHoklch(41.72% 0.197 273.8)
XYZxyz(10.7845, 6.3657, 43.8315)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333B4 #B4B433
analogous
#3373B4 #3333B4 #7333B4
triadic
#3333B4 #B43333 #33B433
tetradic
#3333B4 #B43373 #B4B433 #33B473
square
#3333B4 #B43373 #B4B433 #33B473
split-complementary
#3333B4 #B47333 #73B433
monochromatic
#181855 #252584 #3333B4 #5555CF #8585DC

Accessibility & contrast

On white

9.24
#3333B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3333B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3333B4
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3333B4#FFFFFF#000000##FFFFFF
##3333B41.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB8
Deuteranopia (green-blind)
#0041B2
Tritanopia (blue-blind)
#005770
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3333b4;
/* rgb */ color: rgb(51, 51, 180);
/* oklch */ color: oklch(41.7% 0.197 273.8);
Tailwind
colors: {
  custom: {
    50: '#7e6ccc',
    500: '#3333b4',
    950: '#000000',
  },
}
SCSS
$custom: #3333b4;
$custom-light: #7e6ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#3333b4",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 180
  },
  "hsl": {
    "h": 240,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41716,
    "c": 0.19656,
    "h": 273.8
  },
  "luminance": 0.06367
}

Semantic roles & 50–950 ramp

primary
#3333B4
secondary
#C6C67D
accent
#DF49DF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3333B4

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

Preview Lab → · Contrast checker → · Palette generator →

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