#333EB0#333EB0

#333EB0 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.1% C 0.179 H 272.1°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#333EB0
RGBrgb(51, 62, 176)
HSLhsl(235, 55%, 45%)
HSVhsv(235, 71%, 69%)
CMYKcmyk(71%, 64.8%, 0%, 31%)
CIE-LABlab(32.44, 34.28, -61.95)
CIE-LCHlch(32.44, 70.80, 298.96°)
OKLaboklab(43.14% 0.0066 -0.1789)
OKLCHoklch(43.14% 0.179 272.1)
XYZxyz(10.9217, 7.2826, 41.8960)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333EB0 #B0A533
analogous
#337DB0 #333EB0 #6733B0
triadic
#333EB0 #B0333E #3EB033
tetradic
#333EB0 #B0337D #B0A533 #33B067
square
#333EB0 #B0337D #B0A533 #33B067
split-complementary
#333EB0 #B06733 #7DB033
monochromatic
#181D51 #252D81 #333EB0 #535ECD #828ADB

Accessibility & contrast

On white

8.55
#333EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#333EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333EB0
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333EB0#FFFFFF#000000##FFFFFF
##333EB01.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0047AE
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #333eb0;
/* rgb */ color: rgb(51, 62, 176);
/* oklch */ color: oklch(43.1% 0.179 272.1);
Tailwind
colors: {
  custom: {
    50: '#7c73c9',
    500: '#333eb0',
    950: '#000000',
  },
}
SCSS
$custom: #333eb0;
$custom-light: #7c73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#333eb0",
  "rgb": {
    "r": 51,
    "g": 62,
    "b": 176
  },
  "hsl": {
    "h": 234.72,
    "s": 55.066,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43141,
    "c": 0.17906,
    "h": 272.1
  },
  "luminance": 0.07284
}

Semantic roles & 50–950 ramp

primary
#333EB0
secondary
#C4BE7B
accent
#D149DE
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #333EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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