#333CA3#333CA3

#333CA3 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.6% C 0.164 H 273.1°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#333CA3
RGBrgb(51, 60, 163)
HSLhsl(235, 52%, 42%)
HSVhsv(235, 69%, 64%)
CMYKcmyk(68.7%, 63.2%, 0%, 36.1%)
CIE-LABlab(30.83, 30.92, -56.79)
CIE-LCHlch(30.83, 64.67, 298.57°)
OKLaboklab(41.61% 0.0088 -0.1638)
OKLCHoklch(41.61% 0.164 273.1)
XYZxyz(9.5897, 6.5790, 35.4077)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333CA3 #A39A33
analogous
#3374A3 #333CA3 #6233A3
triadic
#333CA3 #A3333C #3CA333
tetradic
#333CA3 #A33374 #A39A33 #33A362
square
#333CA3 #A33374 #A39A33 #33A362
split-complementary
#333CA3 #A36233 #74A333
monochromatic
#161A46 #242B74 #333CA3 #4C56C7 #7B82D6

Accessibility & contrast

On white

9.07
#333CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #333CA3
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333CA3#FFFFFF#000000##FFFFFF
##333CA31.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0044A1
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #333ca3;
/* rgb */ color: rgb(51, 60, 163);
/* oklch */ color: oklch(41.6% 0.164 273.1);
Tailwind
colors: {
  custom: {
    50: '#7971bf',
    500: '#333ca3',
    950: '#000000',
  },
}
SCSS
$custom: #333ca3;
$custom-light: #7971bf;
$custom-dark: #000000;
JSON
{
  "hex": "#333ca3",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 235.179,
    "s": 52.336,
    "l": 41.961
  },
  "oklch": {
    "l": 0.4161,
    "c": 0.16408,
    "h": 273.1
  },
  "luminance": 0.0658
}

Semantic roles & 50–950 ramp

primary
#333CA3
secondary
#BEB873
accent
#D04CDC
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #333CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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