#333BB6#333BB6

#333BB6 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.2% C 0.190 H 272.4°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#333BB6
RGBrgb(51, 59, 182)
HSLhsl(236, 56%, 46%)
HSVhsv(236, 72%, 71%)
CMYKcmyk(72%, 67.6%, 0%, 28.6%)
CIE-LABlab(32.28, 38.28, -65.78)
CIE-LCHlch(32.28, 76.11, 300.19°)
OKLaboklab(43.19% 0.0081 -0.1902)
OKLCHoklch(43.19% 0.19 272.4)
XYZxyz(11.3699, 7.2080, 45.0390)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333BB6 #B6AE33
analogous
#337CB6 #333BB6 #6C33B6
triadic
#333BB6 #B6333B #3BB633
tetradic
#333BB6 #B6337C #B6AE33 #33B66C
square
#333BB6 #B6337C #B6AE33 #33B66C
split-complementary
#333BB6 #B66C33 #7CB633
monochromatic
#181C56 #262C86 #333BB6 #565ED0 #868CDD

Accessibility & contrast

On white

8.60
#333BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#333BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333BB6
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333BB6#FFFFFF#000000##FFFFFF
##333BB61.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0046B4
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #333bb6;
/* rgb */ color: rgb(51, 59, 182);
/* oklch */ color: oklch(43.2% 0.190 272.4);
Tailwind
colors: {
  custom: {
    50: '#7e71cd',
    500: '#333bb6',
    950: '#000000',
  },
}
SCSS
$custom: #333bb6;
$custom-light: #7e71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#333bb6",
  "rgb": {
    "r": 51,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 236.336,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43185,
    "c": 0.19035,
    "h": 272.4
  },
  "luminance": 0.07209
}

Semantic roles & 50–950 ramp

primary
#333BB6
secondary
#C7C27E
accent
#D648E0
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #333BB6

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

Preview Lab → · Contrast checker → · Palette generator →

#333BB6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva