#333EB8#333EB8

#333EB8 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.9% C 0.190 H 271.8°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#333EB8
RGBrgb(51, 62, 184)
HSLhsl(235, 57%, 46%)
HSVhsv(235, 72%, 72%)
CMYKcmyk(72.3%, 66.3%, 0%, 27.8%)
CIE-LABlab(33.15, 37.11, -65.53)
CIE-LCHlch(33.15, 75.31, 299.53°)
OKLaboklab(43.88% 0.006 -0.1894)
OKLCHoklch(43.88% 0.19 271.8)
XYZxyz(11.7367, 7.6086, 46.1882)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333EB8 #B8AD33
analogous
#3380B8 #333EB8 #6A33B8
triadic
#333EB8 #B8333E #3EB833
tetradic
#333EB8 #B83380 #B8AD33 #33B86A
square
#333EB8 #B83380 #B8AD33 #33B86A
split-complementary
#333EB8 #B86A33 #80B833
monochromatic
#181E58 #262E88 #333EB8 #5862D1 #888FDE

Accessibility & contrast

On white

8.33
#333EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#333EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333EB8
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333EB8#FFFFFF#000000##FFFFFF
##333EB81.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0048B6
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #333eb8;
/* rgb */ color: rgb(51, 62, 184);
/* oklch */ color: oklch(43.9% 0.190 271.8);
Tailwind
colors: {
  custom: {
    50: '#7e73ce',
    500: '#333eb8',
    950: '#000000',
  },
}
SCSS
$custom: #333eb8;
$custom-light: #7e73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#333eb8",
  "rgb": {
    "r": 51,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 235.038,
    "s": 56.596,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4388,
    "c": 0.18951,
    "h": 271.8
  },
  "luminance": 0.0761
}

Semantic roles & 50–950 ramp

primary
#333EB8
secondary
#C8C27F
accent
#D348E0
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #333EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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