#333AB0#333AB0

#333AB0 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.184 H 272.9°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#333AB0
RGBrgb(51, 58, 176)
HSLhsl(237, 55%, 45%)
HSVhsv(237, 71%, 69%)
CMYKcmyk(71%, 67%, 0%, 31%)
CIE-LABlab(31.49, 36.80, -63.50)
CIE-LCHlch(31.49, 73.39, 300.09°)
OKLaboklab(42.45% 0.0093 -0.1835)
OKLCHoklch(42.45% 0.184 272.9)
XYZxyz(10.7121, 6.8635, 41.8261)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333AB0 #B0A933
analogous
#3379B0 #333AB0 #6B33B0
triadic
#333AB0 #B0333A #3AB033
tetradic
#333AB0 #B03379 #B0A933 #33B06B
square
#333AB0 #B03379 #B0A933 #33B06B
split-complementary
#333AB0 #B06B33 #79B033
monochromatic
#181B51 #252A81 #333AB0 #535ACD #8287DB

Accessibility & contrast

On white

8.85
#333AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#333AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333AB0
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333AB0#FFFFFF#000000##FFFFFF
##333AB01.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #333ab0;
/* rgb */ color: rgb(51, 58, 176);
/* oklch */ color: oklch(42.4% 0.184 272.9);
Tailwind
colors: {
  custom: {
    50: '#7c70c9',
    500: '#333ab0',
    950: '#000000',
  },
}
SCSS
$custom: #333ab0;
$custom-light: #7c70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#333ab0",
  "rgb": {
    "r": 51,
    "g": 58,
    "b": 176
  },
  "hsl": {
    "h": 236.64,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42449,
    "c": 0.18374,
    "h": 272.9
  },
  "luminance": 0.06865
}

Semantic roles & 50–950 ramp

primary
#333AB0
secondary
#C4C07B
accent
#D649DE
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #333AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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