#3333BA#3333BA

#3333BA is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.3% C 0.204 H 273.4°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#3333BA
RGBrgb(51, 51, 186)
HSLhsl(240, 57%, 46%)
HSVhsv(240, 73%, 73%)
CMYKcmyk(72.6%, 72.6%, 0%, 27.1%)
CIE-LABlab(30.92, 44.43, -70.39)
CIE-LCHlch(30.92, 83.24, 302.26°)
OKLaboklab(42.32% 0.0121 -0.2036)
OKLCHoklch(42.32% 0.204 273.4)
XYZxyz(11.4090, 6.6155, 47.1205)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333BA #BABA33
analogous
#3377BA #3333BA #7733BA
triadic
#3333BA #BA3333 #33BA33
tetradic
#3333BA #BA3377 #BABA33 #33BA77
square
#3333BA #BA3377 #BABA33 #33BA77
split-complementary
#3333BA #BA7733 #77BA33
monochromatic
#19195A #26268A #3333BA #5959D1 #8989DF

Accessibility & contrast

On white

9.04
#3333BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3333BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3333BA
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3333BA#FFFFFF#000000##FFFFFF
##3333BA1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBE
Deuteranopia (green-blind)
#0042B8
Tritanopia (blue-blind)
#005973
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3333ba;
/* rgb */ color: rgb(51, 51, 186);
/* oklch */ color: oklch(42.3% 0.204 273.4);
Tailwind
colors: {
  custom: {
    50: '#7f6cd0',
    500: '#3333ba',
    950: '#000000',
  },
}
SCSS
$custom: #3333ba;
$custom-light: #7f6cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#3333ba",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 186
  },
  "hsl": {
    "h": 240,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42323,
    "c": 0.20398,
    "h": 273.4
  },
  "luminance": 0.06617
}

Semantic roles & 50–950 ramp

primary
#3333BA
secondary
#C9C980
accent
#E048E0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0714
muted
#7D7A82

Preview Lab

Preview with #3333BA

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

Preview Lab → · Contrast checker → · Palette generator →

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