#333CA4#333CA4

#333CA4 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.7% C 0.165 H 273.0°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#333CA4
RGBrgb(51, 60, 164)
HSLhsl(235, 53%, 42%)
HSVhsv(235, 69%, 64%)
CMYKcmyk(68.9%, 63.4%, 0%, 35.7%)
CIE-LABlab(30.91, 31.28, -57.26)
CIE-LCHlch(30.91, 65.25, 298.65°)
OKLaboklab(41.7% 0.0088 -0.1652)
OKLCHoklch(41.7% 0.165 273)
XYZxyz(9.6797, 6.6150, 35.8815)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333CA4 #A49B33
analogous
#3375A4 #333CA4 #6233A4
triadic
#333CA4 #A4333C #3CA433
tetradic
#333CA4 #A43375 #A49B33 #33A462
square
#333CA4 #A43375 #A49B33 #33A462
split-complementary
#333CA4 #A46233 #75A433
monochromatic
#161A47 #242B75 #333CA4 #4D56C8 #7B83D6

Accessibility & contrast

On white

9.04
#333CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#333CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333CA4
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333CA4#FFFFFF#000000##FFFFFF
##333CA41.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0044A2
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #333ca4;
/* rgb */ color: rgb(51, 60, 164);
/* oklch */ color: oklch(41.7% 0.165 273.0);
Tailwind
colors: {
  custom: {
    50: '#7a72c0',
    500: '#333ca4',
    950: '#000000',
  },
}
SCSS
$custom: #333ca4;
$custom-light: #7a72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#333ca4",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 235.221,
    "s": 52.558,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41699,
    "c": 0.16543,
    "h": 273
  },
  "luminance": 0.06616
}

Semantic roles & 50–950 ramp

primary
#333CA4
secondary
#BFB974
accent
#D04CDC
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #333CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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