#333BB9#333BB9

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

Color values

HEX#333BB9
RGBrgb(51, 59, 185)
HSLhsl(236, 57%, 46%)
HSVhsv(236, 72%, 73%)
CMYKcmyk(72.4%, 68.1%, 0%, 27.5%)
CIE-LABlab(32.55, 39.32, -67.10)
CIE-LCHlch(32.55, 77.78, 300.37°)
OKLaboklab(43.47% 0.0078 -0.194)
OKLCHoklch(43.47% 0.194 272.3)
XYZxyz(11.6832, 7.3333, 46.6893)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333BB9 #B9B133
analogous
#337EB9 #333BB9 #6E33B9
triadic
#333BB9 #B9333B #3BB933
tetradic
#333BB9 #B9337E #B9B133 #33B96E
square
#333BB9 #B9337E #B9B133 #33B96E
split-complementary
#333BB9 #B96E33 #7EB933
monochromatic
#191C59 #262C89 #333BB9 #585FD1 #888DDE

Accessibility & contrast

On white

8.51
#333BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#333BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333BB9
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333BB9#FFFFFF#000000##FFFFFF
##333BB91.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #333bb9;
/* rgb */ color: rgb(51, 59, 185);
/* oklch */ color: oklch(43.5% 0.194 272.3);
Tailwind
colors: {
  custom: {
    50: '#7e71cf',
    500: '#333bb9',
    950: '#000000',
  },
}
SCSS
$custom: #333bb9;
$custom-light: #7e71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#333bb9",
  "rgb": {
    "r": 51,
    "g": 59,
    "b": 185
  },
  "hsl": {
    "h": 236.418,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43472,
    "c": 0.19419,
    "h": 272.3
  },
  "luminance": 0.07335
}

Semantic roles & 50–950 ramp

primary
#333BB9
secondary
#C8C480
accent
#D748E0
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #333BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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