#333AB6#333AB6

#333AB6 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.0% C 0.191 H 272.6°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#333AB6
RGBrgb(51, 58, 182)
HSLhsl(237, 56%, 46%)
HSVhsv(237, 72%, 71%)
CMYKcmyk(72%, 68.1%, 0%, 28.6%)
CIE-LABlab(32.05, 38.89, -66.16)
CIE-LCHlch(32.05, 76.74, 300.45°)
OKLaboklab(43.02% 0.0087 -0.1913)
OKLCHoklch(43.02% 0.191 272.6)
XYZxyz(11.3190, 7.1062, 45.0220)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333AB6 #B6AF33
analogous
#337BB6 #333AB6 #6D33B6
triadic
#333AB6 #B6333A #3AB633
tetradic
#333AB6 #B6337B #B6AF33 #33B66D
square
#333AB6 #B6337B #B6AF33 #33B66D
split-complementary
#333AB6 #B66D33 #7BB633
monochromatic
#181C56 #262B86 #333AB6 #565DD0 #868BDD

Accessibility & contrast

On white

8.67
#333AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#333AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333AB6
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333AB6#FFFFFF#000000##FFFFFF
##333AB61.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #333ab6;
/* rgb */ color: rgb(51, 58, 182);
/* oklch */ color: oklch(43.0% 0.191 272.6);
Tailwind
colors: {
  custom: {
    50: '#7e71cd',
    500: '#333ab6',
    950: '#000000',
  },
}
SCSS
$custom: #333ab6;
$custom-light: #7e71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#333ab6",
  "rgb": {
    "r": 51,
    "g": 58,
    "b": 182
  },
  "hsl": {
    "h": 236.794,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4302,
    "c": 0.19148,
    "h": 272.6
  },
  "luminance": 0.07107
}

Semantic roles & 50–950 ramp

primary
#333AB6
secondary
#C7C37E
accent
#D748E0
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #333AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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