#3333B0#3333B0

#3333B0 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.3% C 0.192 H 274.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#3333B0
RGBrgb(51, 51, 176)
HSLhsl(240, 55%, 45%)
HSVhsv(240, 71%, 69%)
CMYKcmyk(71%, 71%, 0%, 31%)
CIE-LABlab(29.92, 41.07, -66.08)
CIE-LCHlch(29.92, 77.80, 301.86°)
OKLaboklab(41.32% 0.0137 -0.191)
OKLCHoklch(41.32% 0.192 274.1)
XYZxyz(10.3829, 6.2050, 41.7164)
Luminance0.0621 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333B0 #B0B033
analogous
#3372B0 #3333B0 #7233B0
triadic
#3333B0 #B03333 #33B033
tetradic
#3333B0 #B03372 #B0B033 #33B072
square
#3333B0 #B03372 #B0B033 #33B072
split-complementary
#3333B0 #B07233 #72B033
monochromatic
#181851 #252581 #3333B0 #5353CD #8282DB

Accessibility & contrast

On white

9.37
#3333B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3333B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3333B0
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3333B0#FFFFFF#000000##FFFFFF
##3333B01.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB4
Deuteranopia (green-blind)
#0041AE
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3333b0;
/* rgb */ color: rgb(51, 51, 176);
/* oklch */ color: oklch(41.3% 0.192 274.1);
Tailwind
colors: {
  custom: {
    50: '#7d6cc9',
    500: '#3333b0',
    950: '#000000',
  },
}
SCSS
$custom: #3333b0;
$custom-light: #7d6cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#3333b0",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 176
  },
  "hsl": {
    "h": 240,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41316,
    "c": 0.19154,
    "h": 274.1
  },
  "luminance": 0.06206
}

Semantic roles & 50–950 ramp

primary
#3333B0
secondary
#C4C47B
accent
#DE49DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #3333B0

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

Preview Lab → · Contrast checker → · Palette generator →

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