#333EB6#333EB6

#333EB6 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.7% C 0.187 H 271.9°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#333EB6
RGBrgb(51, 62, 182)
HSLhsl(235, 56%, 46%)
HSVhsv(235, 72%, 71%)
CMYKcmyk(72%, 65.9%, 0%, 28.6%)
CIE-LABlab(32.97, 36.41, -64.64)
CIE-LCHlch(32.97, 74.19, 299.39°)
OKLaboklab(43.69% 0.0062 -0.1868)
OKLCHoklch(43.69% 0.187 271.9)
XYZxyz(11.5285, 7.5253, 45.0919)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333EB6 #B6AB33
analogous
#337FB6 #333EB6 #6933B6
triadic
#333EB6 #B6333E #3EB633
tetradic
#333EB6 #B6337F #B6AB33 #33B669
square
#333EB6 #B6337F #B6AB33 #33B669
split-complementary
#333EB6 #B66933 #7FB633
monochromatic
#181D56 #262E86 #333EB6 #5661D0 #868EDD

Accessibility & contrast

On white

8.38
#333EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#333EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333EB6
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333EB6#FFFFFF#000000##FFFFFF
##333EB61.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0047B4
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #333eb6;
/* rgb */ color: rgb(51, 62, 182);
/* oklch */ color: oklch(43.7% 0.187 271.9);
Tailwind
colors: {
  custom: {
    50: '#7d73cd',
    500: '#333eb6',
    950: '#000000',
  },
}
SCSS
$custom: #333eb6;
$custom-light: #7d73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#333eb6",
  "rgb": {
    "r": 51,
    "g": 62,
    "b": 182
  },
  "hsl": {
    "h": 234.962,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43693,
    "c": 0.18692,
    "h": 271.9
  },
  "luminance": 0.07526
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #333EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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