#333EB2#333EB2

#333EB2 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.3% C 0.182 H 272.0°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#333EB2
RGBrgb(51, 62, 178)
HSLhsl(235, 55%, 45%)
HSVhsv(235, 71%, 70%)
CMYKcmyk(71.3%, 65.2%, 0%, 30.2%)
CIE-LABlab(32.62, 34.99, -62.85)
CIE-LCHlch(32.62, 71.93, 299.11°)
OKLaboklab(43.32% 0.0065 -0.1816)
OKLCHoklch(43.32% 0.182 272)
XYZxyz(11.1210, 7.3623, 42.9458)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333EB2 #B2A733
analogous
#337EB2 #333EB2 #6733B2
triadic
#333EB2 #B2333E #3EB233
tetradic
#333EB2 #B2337E #B2A733 #33B267
square
#333EB2 #B2337E #B2A733 #33B267
split-complementary
#333EB2 #B26733 #7EB233
monochromatic
#181D53 #252D82 #333EB2 #545FCE #848BDC

Accessibility & contrast

On white

8.49
#333EB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #333EB2
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333EB2#FFFFFF#000000##FFFFFF
##333EB21.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #333eb2;
/* rgb */ color: rgb(51, 62, 178);
/* oklch */ color: oklch(43.3% 0.182 272.0);
Tailwind
colors: {
  custom: {
    50: '#7c73ca',
    500: '#333eb2',
    950: '#000000',
  },
}
SCSS
$custom: #333eb2;
$custom-light: #7c73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#333eb2",
  "rgb": {
    "r": 51,
    "g": 62,
    "b": 178
  },
  "hsl": {
    "h": 234.803,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43324,
    "c": 0.18169,
    "h": 272
  },
  "luminance": 0.07363
}

Semantic roles & 50–950 ramp

primary
#333EB2
secondary
#C5BF7C
accent
#D249DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #333EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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