#3333B7#3333B7

#3333B7 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.0% C 0.200 H 273.6°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#3333B7
RGBrgb(51, 51, 183)
HSLhsl(240, 56%, 46%)
HSVhsv(240, 72%, 72%)
CMYKcmyk(72.1%, 72.1%, 0%, 28.2%)
CIE-LABlab(30.61, 43.42, -69.11)
CIE-LCHlch(30.61, 81.62, 302.14°)
OKLaboklab(42.02% 0.0126 -0.1999)
OKLCHoklch(42.02% 0.2 273.6)
XYZxyz(11.0935, 6.4893, 45.4585)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333B7 #B7B733
analogous
#3375B7 #3333B7 #7533B7
triadic
#3333B7 #B73333 #33B733
tetradic
#3333B7 #B73375 #B7B733 #33B775
square
#3333B7 #B73375 #B7B733 #33B775
split-complementary
#3333B7 #B77533 #75B733
monochromatic
#181857 #262687 #3333B7 #5757D0 #8787DE

Accessibility & contrast

On white

9.14
#3333B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#3333B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3333B7
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3333B7#FFFFFF#000000##FFFFFF
##3333B71.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBB
Deuteranopia (green-blind)
#0042B5
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3333b7;
/* rgb */ color: rgb(51, 51, 183);
/* oklch */ color: oklch(42.0% 0.200 273.6);
Tailwind
colors: {
  custom: {
    50: '#7f6cce',
    500: '#3333b7',
    950: '#000000',
  },
}
SCSS
$custom: #3333b7;
$custom-light: #7f6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#3333b7",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 183
  },
  "hsl": {
    "h": 240,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.42018,
    "c": 0.20028,
    "h": 273.6
  },
  "luminance": 0.0649
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3333B7

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

Preview Lab → · Contrast checker → · Palette generator →

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