#3333B9#3333B9

#3333B9 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.2% C 0.203 H 273.5°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#3333B9
RGBrgb(51, 51, 185)
HSLhsl(240, 57%, 46%)
HSVhsv(240, 72%, 73%)
CMYKcmyk(72.4%, 72.4%, 0%, 27.5%)
CIE-LABlab(30.81, 44.09, -69.97)
CIE-LCHlch(30.81, 82.70, 302.22°)
OKLaboklab(42.22% 0.0123 -0.2024)
OKLCHoklch(42.22% 0.203 273.5)
XYZxyz(11.3031, 6.5731, 46.5626)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333B9 #B9B933
analogous
#3376B9 #3333B9 #7633B9
triadic
#3333B9 #B93333 #33B933
tetradic
#3333B9 #B93376 #B9B933 #33B976
square
#3333B9 #B93376 #B9B933 #33B976
split-complementary
#3333B9 #B97633 #76B933
monochromatic
#191959 #262689 #3333B9 #5858D1 #8888DE

Accessibility & contrast

On white

9.07
#3333B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3333B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3333B9
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3333B9#FFFFFF#000000##FFFFFF
##3333B91.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3333b9;
/* rgb */ color: rgb(51, 51, 185);
/* oklch */ color: oklch(42.2% 0.203 273.5);
Tailwind
colors: {
  custom: {
    50: '#7f6ccf',
    500: '#3333b9',
    950: '#000000',
  },
}
SCSS
$custom: #3333b9;
$custom-light: #7f6ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#3333b9",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 185
  },
  "hsl": {
    "h": 240,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42221,
    "c": 0.20275,
    "h": 273.5
  },
  "luminance": 0.06574
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3333B9

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

Preview Lab → · Contrast checker → · Palette generator →

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