#333EB3#333EB3

#333EB3 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.4% C 0.183 H 272.0°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#333EB3
RGBrgb(51, 62, 179)
HSLhsl(235, 56%, 45%)
HSVhsv(235, 72%, 70%)
CMYKcmyk(71.5%, 65.4%, 0%, 29.8%)
CIE-LABlab(32.71, 35.35, -63.30)
CIE-LCHlch(32.71, 72.50, 299.18°)
OKLaboklab(43.42% 0.0064 -0.1829)
OKLCHoklch(43.42% 0.183 272)
XYZxyz(11.2218, 7.4026, 43.4765)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333EB3 #B3A833
analogous
#337EB3 #333EB3 #6833B3
triadic
#333EB3 #B3333E #3EB333
tetradic
#333EB3 #B3337E #B3A833 #33B368
square
#333EB3 #B3337E #B3A833 #33B368
split-complementary
#333EB3 #B36833 #7EB333
monochromatic
#181D54 #252E83 #333EB3 #555FCE #848CDC

Accessibility & contrast

On white

8.47
#333EB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#333EB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333EB3
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333EB3#FFFFFF#000000##FFFFFF
##333EB31.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0047B1
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #333eb3;
/* rgb */ color: rgb(51, 62, 179);
/* oklch */ color: oklch(43.4% 0.183 272.0);
Tailwind
colors: {
  custom: {
    50: '#7d73cb',
    500: '#333eb3',
    950: '#000000',
  },
}
SCSS
$custom: #333eb3;
$custom-light: #7d73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#333eb3",
  "rgb": {
    "r": 51,
    "g": 62,
    "b": 179
  },
  "hsl": {
    "h": 234.844,
    "s": 55.652,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43416,
    "c": 0.183,
    "h": 272
  },
  "luminance": 0.07404
}

Semantic roles & 50–950 ramp

primary
#333EB3
secondary
#C6BF7C
accent
#D249DF
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #333EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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