#333CB5#333CB5

#333CB5 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.3% C 0.188 H 272.3°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#333CB5
RGBrgb(51, 60, 181)
HSLhsl(236, 56%, 45%)
HSVhsv(236, 72%, 71%)
CMYKcmyk(71.8%, 66.9%, 0%, 29%)
CIE-LABlab(32.42, 37.31, -64.96)
CIE-LCHlch(32.42, 74.91, 299.87°)
OKLaboklab(43.26% 0.0075 -0.1878)
OKLCHoklch(43.26% 0.188 272.3)
XYZxyz(11.3188, 7.2706, 44.5140)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333CB5 #B5AC33
analogous
#337DB5 #333CB5 #6B33B5
triadic
#333CB5 #B5333C #3CB533
tetradic
#333CB5 #B5337D #B5AC33 #33B56B
square
#333CB5 #B5337D #B5AC33 #33B56B
split-complementary
#333CB5 #B56B33 #7DB533
monochromatic
#181C56 #262C85 #333CB5 #565ECF #868CDD

Accessibility & contrast

On white

8.56
#333CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#333CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333CB5
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333CB5#FFFFFF#000000##FFFFFF
##333CB51.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #333cb5;
/* rgb */ color: rgb(51, 60, 181);
/* oklch */ color: oklch(43.3% 0.188 272.3);
Tailwind
colors: {
  custom: {
    50: '#7d72cc',
    500: '#333cb5',
    950: '#000000',
  },
}
SCSS
$custom: #333cb5;
$custom-light: #7d72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#333cb5",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 235.846,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43259,
    "c": 0.18792,
    "h": 272.3
  },
  "luminance": 0.07272
}

Semantic roles & 50–950 ramp

primary
#333CB5
secondary
#C6C17D
accent
#D548DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #333CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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