#3333B2#3333B2

#3333B2 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.5% C 0.194 H 274.0°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#3333B2
RGBrgb(51, 51, 178)
HSLhsl(240, 55%, 45%)
HSVhsv(240, 71%, 70%)
CMYKcmyk(71.3%, 71.3%, 0%, 30.2%)
CIE-LABlab(30.12, 41.75, -66.95)
CIE-LCHlch(30.12, 78.90, 301.94°)
OKLaboklab(41.52% 0.0134 -0.1936)
OKLCHoklch(41.52% 0.194 274)
XYZxyz(10.5823, 6.2848, 42.7662)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333B2 #B2B233
analogous
#3373B2 #3333B2 #7333B2
triadic
#3333B2 #B23333 #33B233
tetradic
#3333B2 #B23373 #B2B233 #33B273
square
#3333B2 #B23373 #B2B233 #33B273
split-complementary
#3333B2 #B27333 #73B233
monochromatic
#181853 #252582 #3333B2 #5454CE #8484DC

Accessibility & contrast

On white

9.30
#3333B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3333B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3333B2
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3333B2#FFFFFF#000000##FFFFFF
##3333B21.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#00566F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3333b2;
/* rgb */ color: rgb(51, 51, 178);
/* oklch */ color: oklch(41.5% 0.194 274.0);
Tailwind
colors: {
  custom: {
    50: '#7d6cca',
    500: '#3333b2',
    950: '#000000',
  },
}
SCSS
$custom: #3333b2;
$custom-light: #7d6cca;
$custom-dark: #000000;
JSON
{
  "hex": "#3333b2",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 240,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.41515,
    "c": 0.19405,
    "h": 274
  },
  "luminance": 0.06286
}

Semantic roles & 50–950 ramp

primary
#3333B2
secondary
#C5C57C
accent
#DF49DF
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3333B2

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

Preview Lab → · Contrast checker → · Palette generator →

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