#333CA9#333CA9

#333CA9 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.1% C 0.172 H 272.8°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#333CA9
RGBrgb(51, 60, 169)
HSLhsl(235, 54%, 43%)
HSVhsv(235, 70%, 66%)
CMYKcmyk(69.8%, 64.5%, 0%, 33.7%)
CIE-LABlab(31.35, 33.07, -59.56)
CIE-LCHlch(31.35, 68.12, 299.04°)
OKLaboklab(42.15% 0.0085 -0.1719)
OKLCHoklch(42.15% 0.172 272.8)
XYZxyz(10.1401, 6.7991, 38.3064)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#333CA9 #A9A033
analogous
#3377A9 #333CA9 #6533A9
triadic
#333CA9 #A9333C #3CA933
tetradic
#333CA9 #A93377 #A9A033 #33A965
square
#333CA9 #A93377 #A9A033 #33A965
split-complementary
#333CA9 #A96533 #77A933
monochromatic
#171B4B #252B7A #333CA9 #4F59CA #7E85D8

Accessibility & contrast

On white

8.90
#333CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#333CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #333CA9
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##333CA9#FFFFFF#000000##FFFFFF
##333CA91.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0044A7
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #333ca9;
/* rgb */ color: rgb(51, 60, 169);
/* oklch */ color: oklch(42.1% 0.172 272.8);
Tailwind
colors: {
  custom: {
    50: '#7b72c4',
    500: '#333ca9',
    950: '#000000',
  },
}
SCSS
$custom: #333ca9;
$custom-light: #7b72c4;
$custom-dark: #000000;
JSON
{
  "hex": "#333ca9",
  "rgb": {
    "r": 51,
    "g": 60,
    "b": 169
  },
  "hsl": {
    "h": 235.424,
    "s": 53.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42149,
    "c": 0.17216,
    "h": 272.8
  },
  "luminance": 0.068
}

Semantic roles & 50–950 ramp

primary
#333CA9
secondary
#C1BB77
accent
#D24BDD
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #333CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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