#333CBD#333CBD

#333CBD is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.0% C 0.198 H 271.9°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#333CBD
RGBrgb(51, 60, 189)
HSLhsl(236, 58%, 47%)
HSVhsv(236, 73%, 74%)
CMYKcmyk(73%, 68.3%, 0%, 25.9%)
CIE-LABlab(33.15, 40.10, -68.48)
CIE-LCHlch(33.15, 79.35, 300.35°)
OKLaboklab(44.02% 0.0067 -0.198)
OKLCHoklch(44.02% 0.198 271.9)
XYZxyz(12.1633, 7.6084, 48.9618)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333CBD #BDB433
analogous
#3381BD #333CBD #6F33BD
triadic
#333CBD #BD333C #3CBD33
tetradic
#333CBD #BD3381 #BDB433 #33BD6F
square
#333CBD #BD3381 #BDB433 #33BD6F
split-complementary
#333CBD #BD6F33 #81BD33
monochromatic
#191D5D #262D8D #333CBD #5B62D3 #8B90E0

Accessibility & contrast

On white

8.33
#333CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#333CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333CBD
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333CBD#FFFFFF#000000##FFFFFF
##333CBD1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#0047BB
Tritanopia (blue-blind)
#005F77
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #333cbd;
/* rgb */ color: rgb(51, 60, 189);
/* oklch */ color: oklch(44.0% 0.198 271.9);
Tailwind
colors: {
  custom: {
    50: '#7f72d2',
    500: '#333cbd',
    950: '#000000',
  },
}
SCSS
$custom: #333cbd;
$custom-light: #7f72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#333cbd",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 189
  },
  "hsl": {
    "h": 236.087,
    "s": 57.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4402,
    "c": 0.19816,
    "h": 271.9
  },
  "luminance": 0.0761
}

Semantic roles & 50–950 ramp

primary
#333CBD
secondary
#CAC582
accent
#D747E1
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #333CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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