#333CB4#333CB4

#333CB4 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.2% C 0.187 H 272.3°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#333CB4
RGBrgb(51, 60, 180)
HSLhsl(236, 56%, 45%)
HSVhsv(236, 72%, 71%)
CMYKcmyk(71.7%, 66.7%, 0%, 29.4%)
CIE-LABlab(32.32, 36.96, -64.52)
CIE-LCHlch(32.32, 74.35, 299.80°)
OKLaboklab(43.17% 0.0076 -0.1865)
OKLCHoklch(43.17% 0.187 272.3)
XYZxyz(11.2165, 7.2297, 43.9755)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333CB4 #B4AB33
analogous
#337CB4 #333CB4 #6A33B4
triadic
#333CB4 #B4333C #3CB433
tetradic
#333CB4 #B4337C #B4AB33 #33B46A
square
#333CB4 #B4337C #B4AB33 #33B46A
split-complementary
#333CB4 #B46A33 #7CB433
monochromatic
#181C55 #252C84 #333CB4 #555ECF #858BDC

Accessibility & contrast

On white

8.58
#333CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #333CB4
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333CB4#FFFFFF#000000##FFFFFF
##333CB41.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #333cb4;
/* rgb */ color: rgb(51, 60, 180);
/* oklch */ color: oklch(43.2% 0.187 272.3);
Tailwind
colors: {
  custom: {
    50: '#7d72cc',
    500: '#333cb4',
    950: '#000000',
  },
}
SCSS
$custom: #333cb4;
$custom-light: #7d72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#333cb4",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 180
  },
  "hsl": {
    "h": 235.814,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43165,
    "c": 0.18663,
    "h": 272.3
  },
  "luminance": 0.07231
}

Semantic roles & 50–950 ramp

primary
#333CB4
secondary
#C6C17D
accent
#D549DF
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #333CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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