#333CB6#333CB6

#333CB6 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.4% C 0.189 H 272.3°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#333CB6
RGBrgb(51, 60, 182)
HSLhsl(236, 56%, 46%)
HSVhsv(236, 72%, 71%)
CMYKcmyk(72%, 67%, 0%, 28.6%)
CIE-LABlab(32.51, 37.66, -65.41)
CIE-LCHlch(32.51, 75.47, 299.93°)
OKLaboklab(43.35% 0.0074 -0.1891)
OKLCHoklch(43.35% 0.189 272.3)
XYZxyz(11.4218, 7.3118, 45.0563)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333CB6 #B6AD33
analogous
#337DB6 #333CB6 #6B33B6
triadic
#333CB6 #B6333C #3CB633
tetradic
#333CB6 #B6337D #B6AD33 #33B66B
square
#333CB6 #B6337D #B6AD33 #33B66B
split-complementary
#333CB6 #B66B33 #7DB633
monochromatic
#181C56 #262C86 #333CB6 #565FD0 #868CDD

Accessibility & contrast

On white

8.53
#333CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#333CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333CB6
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333CB6#FFFFFF#000000##FFFFFF
##333CB61.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #333cb6;
/* rgb */ color: rgb(51, 60, 182);
/* oklch */ color: oklch(43.4% 0.189 272.3);
Tailwind
colors: {
  custom: {
    50: '#7e72cd',
    500: '#333cb6',
    950: '#000000',
  },
}
SCSS
$custom: #333cb6;
$custom-light: #7e72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#333cb6",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 182
  },
  "hsl": {
    "h": 235.878,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43353,
    "c": 0.18922,
    "h": 272.3
  },
  "luminance": 0.07313
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #333CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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