#333EB7#333EB7

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

Color values

HEX#333EB7
RGBrgb(51, 62, 183)
HSLhsl(235, 56%, 46%)
HSVhsv(235, 72%, 72%)
CMYKcmyk(72.1%, 66.1%, 0%, 28.2%)
CIE-LABlab(33.06, 36.76, -65.08)
CIE-LCHlch(33.06, 74.75, 299.46°)
OKLaboklab(43.79% 0.0061 -0.1881)
OKLCHoklch(43.79% 0.188 271.8)
XYZxyz(11.6322, 7.5668, 45.6381)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333EB7 #B7AC33
analogous
#3380B7 #333EB7 #6A33B7
triadic
#333EB7 #B7333E #3EB733
tetradic
#333EB7 #B73380 #B7AC33 #33B76A
square
#333EB7 #B73380 #B7AC33 #33B76A
split-complementary
#333EB7 #B76A33 #80B733
monochromatic
#181E57 #262E87 #333EB7 #5761D0 #878EDE

Accessibility & contrast

On white

8.35
#333EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #333EB7
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333EB7#FFFFFF#000000##FFFFFF
##333EB71.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #333eb7;
/* rgb */ color: rgb(51, 62, 183);
/* oklch */ color: oklch(43.8% 0.188 271.8);
Tailwind
colors: {
  custom: {
    50: '#7e73ce',
    500: '#333eb7',
    950: '#000000',
  },
}
SCSS
$custom: #333eb7;
$custom-light: #7e73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#333eb7",
  "rgb": {
    "r": 51,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 235,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.43786,
    "c": 0.18822,
    "h": 271.8
  },
  "luminance": 0.07568
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #333EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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