#333AB9#333AB9

#333AB9 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.3% C 0.195 H 272.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#333AB9
RGBrgb(51, 58, 185)
HSLhsl(237, 57%, 46%)
HSVhsv(237, 72%, 73%)
CMYKcmyk(72.4%, 68.6%, 0%, 27.5%)
CIE-LABlab(32.33, 39.93, -67.47)
CIE-LCHlch(32.33, 78.41, 300.62°)
OKLaboklab(43.31% 0.0084 -0.1951)
OKLCHoklch(43.31% 0.195 272.5)
XYZxyz(11.6323, 7.2315, 46.6723)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333AB9 #B9B233
analogous
#337DB9 #333AB9 #6F33B9
triadic
#333AB9 #B9333A #3AB933
tetradic
#333AB9 #B9337D #B9B233 #33B96F
square
#333AB9 #B9337D #B9B233 #33B96F
split-complementary
#333AB9 #B96F33 #7DB933
monochromatic
#191C59 #262B89 #333AB9 #585ED1 #888DDE

Accessibility & contrast

On white

8.58
#333AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#333AB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333AB9
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333AB9#FFFFFF#000000##FFFFFF
##333AB91.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BD
Deuteranopia (green-blind)
#0046B7
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #333ab9;
/* rgb */ color: rgb(51, 58, 185);
/* oklch */ color: oklch(43.3% 0.195 272.5);
Tailwind
colors: {
  custom: {
    50: '#7e71cf',
    500: '#333ab9',
    950: '#000000',
  },
}
SCSS
$custom: #333ab9;
$custom-light: #7e71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#333ab9",
  "rgb": {
    "r": 51,
    "g": 58,
    "b": 185
  },
  "hsl": {
    "h": 236.866,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43308,
    "c": 0.1953,
    "h": 272.5
  },
  "luminance": 0.07233
}

Semantic roles & 50–950 ramp

primary
#333AB9
secondary
#C8C480
accent
#D848E0
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #333AB9

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

Preview Lab → · Contrast checker → · Palette generator →

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