#333CBB#333CBB

#333CBB is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.8% C 0.196 H 272.0°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#333CBB
RGBrgb(51, 60, 187)
HSLhsl(236, 57%, 47%)
HSVhsv(236, 73%, 73%)
CMYKcmyk(72.7%, 67.9%, 0%, 26.7%)
CIE-LABlab(32.97, 39.40, -67.60)
CIE-LCHlch(32.97, 78.25, 300.23°)
OKLaboklab(43.83% 0.007 -0.1955)
OKLCHoklch(43.83% 0.196 272)
XYZxyz(11.9477, 7.5222, 47.8263)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333CBB #BBB233
analogous
#3380BB #333CBB #6E33BB
triadic
#333CBB #BB333C #3CBB33
tetradic
#333CBB #BB3380 #BBB233 #33BB6E
square
#333CBB #BB3380 #BBB233 #33BB6E
split-complementary
#333CBB #BB6E33 #80BB33
monochromatic
#191D5B #262D8B #333CBB #5961D2 #898FDF

Accessibility & contrast

On white

8.38
#333CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#333CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333CBB
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333CBB#FFFFFF#000000##FFFFFF
##333CBB1.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0047B9
Tritanopia (blue-blind)
#005E76
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #333cbb;
/* rgb */ color: rgb(51, 60, 187);
/* oklch */ color: oklch(43.8% 0.196 272.0);
Tailwind
colors: {
  custom: {
    50: '#7f72d1',
    500: '#333cbb',
    950: '#000000',
  },
}
SCSS
$custom: #333cbb;
$custom-light: #7f72d1;
$custom-dark: #000000;
JSON
{
  "hex": "#333cbb",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 236.029,
    "s": 57.143,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43828,
    "c": 0.19562,
    "h": 272
  },
  "luminance": 0.07523
}

Semantic roles & 50–950 ramp

primary
#333CBB
secondary
#C9C481
accent
#D647E0
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #333CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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