#333CA7#333CA7

#333CA7 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.0% C 0.169 H 272.9°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#333CA7
RGBrgb(51, 60, 167)
HSLhsl(235, 53%, 43%)
HSVhsv(235, 69%, 65%)
CMYKcmyk(69.5%, 64.1%, 0%, 34.5%)
CIE-LABlab(31.17, 32.35, -58.64)
CIE-LCHlch(31.17, 66.98, 298.89°)
OKLaboklab(41.97% 0.0086 -0.1693)
OKLCHoklch(41.97% 0.169 272.9)
XYZxyz(9.9538, 6.7246, 37.3251)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333CA7 #A79E33
analogous
#3376A7 #333CA7 #6433A7
triadic
#333CA7 #A7333C #3CA733
tetradic
#333CA7 #A73376 #A79E33 #33A764
square
#333CA7 #A73376 #A79E33 #33A764
split-complementary
#333CA7 #A76433 #76A733
monochromatic
#161A49 #252B78 #333CA7 #4E58C9 #7D84D7

Accessibility & contrast

On white

8.95
#333CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#333CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333CA7
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333CA7#FFFFFF#000000##FFFFFF
##333CA71.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0044A5
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #333ca7;
/* rgb */ color: rgb(51, 60, 167);
/* oklch */ color: oklch(42.0% 0.169 272.9);
Tailwind
colors: {
  custom: {
    50: '#7a72c2',
    500: '#333ca7',
    950: '#000000',
  },
}
SCSS
$custom: #333ca7;
$custom-light: #7a72c2;
$custom-dark: #000000;
JSON
{
  "hex": "#333ca7",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 235.345,
    "s": 53.211,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41968,
    "c": 0.16948,
    "h": 272.9
  },
  "luminance": 0.06726
}

Semantic roles & 50–950 ramp

primary
#333CA7
secondary
#C0BA76
accent
#D14BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #333CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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