#333EB9#333EB9

#333EB9 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.0% C 0.191 H 271.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#333EB9
RGBrgb(51, 62, 185)
HSLhsl(235, 57%, 46%)
HSVhsv(235, 72%, 73%)
CMYKcmyk(72.4%, 66.5%, 0%, 27.5%)
CIE-LABlab(33.24, 37.47, -65.97)
CIE-LCHlch(33.24, 75.87, 299.59°)
OKLaboklab(43.97% 0.0059 -0.1907)
OKLCHoklch(43.97% 0.191 271.8)
XYZxyz(11.8419, 7.6506, 46.7422)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333EB9 #B9AE33
analogous
#3381B9 #333EB9 #6B33B9
triadic
#333EB9 #B9333E #3EB933
tetradic
#333EB9 #B93381 #B9AE33 #33B96B
square
#333EB9 #B93381 #B9AE33 #33B96B
split-complementary
#333EB9 #B96B33 #81B933
monochromatic
#191E59 #262E89 #333EB9 #5862D1 #888FDE

Accessibility & contrast

On white

8.30
#333EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#333EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333EB9
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333EB9#FFFFFF#000000##FFFFFF
##333EB91.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0048B7
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #333eb9;
/* rgb */ color: rgb(51, 62, 185);
/* oklch */ color: oklch(44.0% 0.191 271.8);
Tailwind
colors: {
  custom: {
    50: '#7e73cf',
    500: '#333eb9',
    950: '#000000',
  },
}
SCSS
$custom: #333eb9;
$custom-light: #7e73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#333eb9",
  "rgb": {
    "r": 51,
    "g": 62,
    "b": 185
  },
  "hsl": {
    "h": 235.075,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43973,
    "c": 0.1908,
    "h": 271.8
  },
  "luminance": 0.07652
}

Semantic roles & 50–950 ramp

primary
#333EB9
secondary
#C8C280
accent
#D448E0
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #333EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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