#3333B3#3333B3

#3333B3 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.6% C 0.195 H 273.9°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#3333B3
RGBrgb(51, 51, 179)
HSLhsl(240, 56%, 45%)
HSVhsv(240, 72%, 70%)
CMYKcmyk(71.5%, 71.5%, 0%, 29.8%)
CIE-LABlab(30.22, 42.08, -67.38)
CIE-LCHlch(30.22, 79.45, 301.98°)
OKLaboklab(41.62% 0.0133 -0.1949)
OKLCHoklch(41.62% 0.195 273.9)
XYZxyz(10.6830, 6.3251, 43.2969)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333B3 #B3B333
analogous
#3373B3 #3333B3 #7333B3
triadic
#3333B3 #B33333 #33B333
tetradic
#3333B3 #B33373 #B3B333 #33B373
square
#3333B3 #B33373 #B3B333 #33B373
split-complementary
#3333B3 #B37333 #73B333
monochromatic
#181854 #252583 #3333B3 #5555CE #8484DC

Accessibility & contrast

On white

9.27
#3333B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3333B3
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3333B3#FFFFFF#000000##FFFFFF
##3333B31.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB7
Deuteranopia (green-blind)
#0041B1
Tritanopia (blue-blind)
#00576F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3333b3;
/* rgb */ color: rgb(51, 51, 179);
/* oklch */ color: oklch(41.6% 0.195 273.9);
Tailwind
colors: {
  custom: {
    50: '#7e6ccb',
    500: '#3333b3',
    950: '#000000',
  },
}
SCSS
$custom: #3333b3;
$custom-light: #7e6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#3333b3",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 179
  },
  "hsl": {
    "h": 240,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.41615,
    "c": 0.19531,
    "h": 273.9
  },
  "luminance": 0.06326
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3333B3

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

Preview Lab → · Contrast checker → · Palette generator →

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