#3333B8#3333B8

#3333B8 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.1% C 0.202 H 273.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#3333B8
RGBrgb(51, 51, 184)
HSLhsl(240, 57%, 46%)
HSVhsv(240, 72%, 72%)
CMYKcmyk(72.3%, 72.3%, 0%, 27.8%)
CIE-LABlab(30.71, 43.76, -69.54)
CIE-LCHlch(30.71, 82.16, 302.18°)
OKLaboklab(42.12% 0.0124 -0.2011)
OKLCHoklch(42.12% 0.202 273.5)
XYZxyz(11.1979, 6.5310, 46.0086)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3333B8 #B8B833
analogous
#3375B8 #3333B8 #7533B8
triadic
#3333B8 #B83333 #33B833
tetradic
#3333B8 #B83375 #B8B833 #33B875
square
#3333B8 #B83375 #B8B833 #33B875
split-complementary
#3333B8 #B87533 #75B833
monochromatic
#181858 #262688 #3333B8 #5858D1 #8888DE

Accessibility & contrast

On white

9.11
#3333B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3333B8
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3333B8#FFFFFF#000000##FFFFFF
##3333B81.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBC
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005972
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3333b8;
/* rgb */ color: rgb(51, 51, 184);
/* oklch */ color: oklch(42.1% 0.202 273.5);
Tailwind
colors: {
  custom: {
    50: '#7f6ccf',
    500: '#3333b8',
    950: '#000000',
  },
}
SCSS
$custom: #3333b8;
$custom-light: #7f6ccf;
$custom-dark: #000000;
JSON
{
  "hex": "#3333b8",
  "rgb": {
    "r": 51,
    "g": 51,
    "b": 184
  },
  "hsl": {
    "h": 240,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42119,
    "c": 0.20151,
    "h": 273.5
  },
  "luminance": 0.06532
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3333B8

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

Preview Lab → · Contrast checker → · Palette generator →

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