#3333B1#3333B1

#3333B1 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.4% C 0.193 H 274.0°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#3333B1
RGBrgb(51, 51, 177)
HSLhsl(240, 55%, 45%)
HSVhsv(240, 71%, 69%)
CMYKcmyk(71.2%, 71.2%, 0%, 30.6%)
CIE-LABlab(30.02, 41.41, -66.52)
CIE-LCHlch(30.02, 78.35, 301.90°)
OKLaboklab(41.42% 0.0136 -0.1923)
OKLCHoklch(41.42% 0.193 274)
XYZxyz(10.4822, 6.2448, 42.2394)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333B1 #B1B133
analogous
#3372B1 #3333B1 #7233B1
triadic
#3333B1 #B13333 #33B133
tetradic
#3333B1 #B13372 #B1B133 #33B172
square
#3333B1 #B13372 #B1B133 #33B172
split-complementary
#3333B1 #B17233 #72B133
monochromatic
#181852 #252581 #3333B1 #5454CE #8383DB

Accessibility & contrast

On white

9.34
#3333B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#3333B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3333B1
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3333B1#FFFFFF#000000##FFFFFF
##3333B11.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB5
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3333b1;
/* rgb */ color: rgb(51, 51, 177);
/* oklch */ color: oklch(41.4% 0.193 274.0);
Tailwind
colors: {
  custom: {
    50: '#7d6cc9',
    500: '#3333b1',
    950: '#000000',
  },
}
SCSS
$custom: #3333b1;
$custom-light: #7d6cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3333b1",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 177
  },
  "hsl": {
    "h": 240,
    "s": 55.263,
    "l": 44.706
  },
  "oklch": {
    "l": 0.41415,
    "c": 0.1928,
    "h": 274
  },
  "luminance": 0.06246
}

Semantic roles & 50–950 ramp

primary
#3333B1
secondary
#C5C57B
accent
#DF49DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3333B1

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

Preview Lab → · Contrast checker → · Palette generator →

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